Lines Matching refs:array_reverse
2 Test array_reverse() function : usage variations - two dimensional arrays for 'array' argument
5 /* Prototype : array array_reverse(array $array [, bool $preserve_keys])
11 * testing the functionality of array_reverse() by giving 2-D arrays for $array argument
14 echo "*** Testing array_reverse() : usage variations ***\n";
29 // calling array_reverse() with various types of 2-d arrays
32 var_dump( array_reverse($two_dimensional_array) ); // whole array
33 var_dump( array_reverse($two_dimensional_array[1]) ); // sub array
38 var_dump( array_reverse($two_dimensional_array, true) );
39 var_dump( array_reverse($two_dimensional_array, false) );
41 var_dump( array_reverse($two_dimensional_array[1], true) );
42 var_dump( array_reverse($two_dimensional_array[1], false) );
47 *** Testing array_reverse() : usage variations ***