Home
last modified time | relevance | path

Searched refs:array_reverse (Results 1 – 14 of 14) sorted by relevance

/PHP-7.4/ext/standard/tests/array/
H A Darray_reverse_basic1.phpt2 Test array_reverse() function : basic functionality - simple array for 'array' argument
5 /* Prototype : array array_reverse(array $array [, bool $preserve_keys])
11 * Testing array_reverse() by giving a simple array for $array argument
14 echo "*** Testing array_reverse() : basic functionality ***\n";
19 // Calling array_reverse() with default arguments
20 var_dump( array_reverse($array) );
22 // Calling array_reverse() with all possible arguments
23 var_dump( array_reverse($array, true) ); // expects the keys to be preserved
24 var_dump( array_reverse($array, false) ); // expects the keys not to be preserved
29 *** Testing array_reverse() : basic functionality ***
H A Darray_reverse_basic2.phpt2 Test array_reverse() function : basic functionality - associative array for 'array' argument
5 /* Prototype : array array_reverse(array $array [, bool $preserve_keys])
11 * Testing array_reverse() with associative array for $array argument
14 echo "*** Testing array_reverse() : basic functionality ***\n";
19 // Calling array_reverse() with default arguments
20 var_dump( array_reverse($array) );
22 // Calling array_reverse() with all possible arguments
23 var_dump( array_reverse($array, true) ); // expects the keys to be preserved
24 var_dump( array_reverse($array, false) ); // expects the keys not to be preserved
29 *** Testing array_reverse() : basic functionality ***
H A Darray_reverse_variation6.phpt2 Test array_reverse() function : usage variations - two dimensional arrays for 'array' argument
5 /* Prototype : array array_reverse(array $array [, bool $preserve_keys])
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) );
[all …]
H A Dbug33382.phpt2 Bug #33382 (array_reverse() fails after *sort() )
10 var_dump(array_reverse($array));
H A Darray_reverse_variation4.phpt2 Test array_reverse() function : usage variations - assoc. array with diff. keys for 'array' argument
5 /* Prototype : array array_reverse(array $array [, bool $preserve_keys])
11 * Testing the functionality of array_reverse() by giving associative arrays with different
15 echo "*** Testing array_reverse() : usage variations ***\n";
63 // loop through the various elements of $arrays to test array_reverse()
69 var_dump( array_reverse($array) );
72 var_dump( array_reverse($array, true) );
74 var_dump( array_reverse($array, false) );
84 *** Testing array_reverse() : usage variations ***
H A Darray_reverse_variation5.phpt2 Test array_reverse() function : usage variations - assoc. array with diff. value for 'array' argume…
7 /* Prototype : array array_reverse(array $array [, bool $preserve_keys])
13 * Testing the functionality of array_reverse() by giving associative arrays with different
17 echo "*** Testing array_reverse() : usage variations ***\n";
66 // loop through the various elements of $arrays to test array_reverse()
72 var_dump( array_reverse($array) );
75 var_dump( array_reverse($array, true) );
77 var_dump( array_reverse($array, false) );
87 *** Testing array_reverse() : usage variations ***
H A Darray_reverse_variation3.phpt2 Test array_reverse() function : usage variations - different array values for 'array' argument
5 /* Prototype : array array_reverse(array $array [, bool $preserve_keys])
11 * Testing the functionality of array_reverse() by giving
15 echo "*** Testing array_reverse() : usage variations ***\n";
64 // loop through the various elements of $arrays to test array_reverse()
70 var_dump( array_reverse($array) );
73 var_dump( array_reverse($array, true) );
75 var_dump( array_reverse($array, false) );
85 *** Testing array_reverse() : usage variations ***
/PHP-7.4/Zend/tests/
H A Dforeach_reference.phpt16 var_dump(array_reverse($array));
H A Dbug64988.phpt7 return array_reverse($data);
/PHP-7.4/ext/standard/
H A Dphp_array.h75 PHP_FUNCTION(array_reverse);
H A Dbasic_functions.c3372 PHP_FE(array_reverse, arginfo_array_reverse)
H A Darray.c4318 PHP_FUNCTION(array_reverse) argument
/PHP-7.4/scripts/dev/
H A Dbless_tests.php240 return array_reverse($result);
/PHP-7.4/
H A Drun-tests.php1397 $test_files = array_reverse($test_files);

Completed in 76 milliseconds