Lines Matching refs:array_reverse
2 Test array_reverse() function : usage variations - unexpected values for 'preserve_keys' argument
5 /* Prototype : array array_reverse(array $array [, bool $preserve_keys])
11 …* testing the functionality of array_reverse() by giving unexpected values for $preserve_keys argu…
14 echo "*** Testing array_reverse() : usage variations ***\n";
86 // loop through each element of the array $preserve_keys to check the behavior of array_reverse()
90 var_dump( array_reverse($array, $preserve_key) );
100 *** Testing array_reverse() : usage variations ***
238 Warning: array_reverse() expects parameter 2 to be boolean, array given in %s on line %d
242 Warning: array_reverse() expects parameter 2 to be boolean, array given in %s on line %d
246 Warning: array_reverse() expects parameter 2 to be boolean, array given in %s on line %d
250 Warning: array_reverse() expects parameter 2 to be boolean, array given in %s on line %d
254 Warning: array_reverse() expects parameter 2 to be boolean, array given in %s on line %d
378 Warning: array_reverse() expects parameter 2 to be boolean, object given in %s on line %d
412 Warning: array_reverse() expects parameter 2 to be boolean, resource given in %s on line %d