psAryReverse() Counts elements in arrary
Description:
This is a safe version of array_reverse() where null and string are ok, returns array();
Usage:
Example:
Code:
function psAryReverse($ary, $pres = false) { $res = array(); if (is_array($ary) == true) { $res = array_reverse($ary, $pres); } return $res; }
Changlelog:
|
|