Home
last modified time | relevance | path

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

/PHP-8.4/ext/standard/tests/array/
H A Darray_reverse_basic2.phpt2 Test array_reverse() function : basic functionality - associative array for 'array' argument
6 * Testing array_reverse() with associative array for $array argument
9 echo "*** Testing array_reverse() : basic functionality ***\n";
14 // Calling array_reverse() with default arguments
15 var_dump( array_reverse($array) );
17 // Calling array_reverse() with all possible arguments
18 var_dump( array_reverse($array, true) ); // expects the keys to be preserved
19 var_dump( array_reverse($array, false) ); // expects the keys not to be preserved
24 *** Testing array_reverse() : basic functionality ***
H A Darray_reverse_basic1.phpt2 Test array_reverse() function : basic functionality - simple array for 'array' argument
6 * Testing array_reverse() by giving a simple array for $array argument
9 echo "*** Testing array_reverse() : basic functionality ***\n";
14 // Calling array_reverse() with default arguments
15 var_dump( array_reverse($array) );
17 // Calling array_reverse() with all possible arguments
18 var_dump( array_reverse($array, true) ); // expects the keys to be preserved
19 var_dump( array_reverse($array, false) ); // expects the keys not to be preserved
24 *** Testing array_reverse() : basic functionality ***
H A Darray_reverse_variation6.phpt2 Test array_reverse() function : usage variations - two dimensional arrays for 'array' argument
6 * testing the functionality of array_reverse() by giving 2-D arrays for $array argument
9 echo "*** Testing array_reverse() : usage variations ***\n";
24 // calling array_reverse() with various types of 2-d arrays
27 var_dump( array_reverse($two_dimensional_array) ); // whole array
28 var_dump( array_reverse($two_dimensional_array[1]) ); // sub array
33 var_dump( array_reverse($two_dimensional_array, true) );
34 var_dump( array_reverse($two_dimensional_array, false) );
36 var_dump( array_reverse($two_dimensional_array[1], true) );
37 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
6 * Testing the functionality of array_reverse() by giving associative arrays with different
10 echo "*** Testing array_reverse() : usage variations ***\n";
54 // loop through the various elements of $arrays to test array_reverse()
60 var_dump( array_reverse($array) );
63 var_dump( array_reverse($array, true) );
65 var_dump( array_reverse($array, false) );
75 *** 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…
8 * Testing the functionality of array_reverse() by giving associative arrays with different
12 echo "*** Testing array_reverse() : usage variations ***\n";
61 // loop through the various elements of $arrays to test array_reverse()
67 var_dump( array_reverse($array) );
70 var_dump( array_reverse($array, true) );
72 var_dump( array_reverse($array, false) );
82 *** Testing array_reverse() : usage variations ***
H A Darray_reverse_variation3.phpt2 Test array_reverse() function : usage variations - different array values for 'array' argument
6 * Testing the functionality of array_reverse() by giving
10 echo "*** Testing array_reverse() : usage variations ***\n";
59 // loop through the various elements of $arrays to test array_reverse()
65 var_dump( array_reverse($array) );
68 var_dump( array_reverse($array, true) );
70 var_dump( array_reverse($array, false) );
80 *** Testing array_reverse() : usage variations ***
/PHP-8.4/Zend/tests/
H A Dforeach_reference.phpt16 var_dump(array_reverse($array));
H A Dbug64988.phpt7 return array_reverse($data);
/PHP-8.4/ext/opcache/tests/jit/
H A Dgh11917.phpt54 return array_reverse($vals);
/PHP-8.4/scripts/dev/
H A Dbless_tests.php244 return array_reverse($result);
/PHP-8.4/ext/standard/
H A Dbasic_functions.stub.php1738 function array_reverse(array $array, bool $preserve_keys = false): array {} function
H A Dbasic_functions_arginfo.h2356 ZEND_FUNCTION(array_reverse);
H A Darray.c4692 PHP_FUNCTION(array_reverse) argument
/PHP-8.4/build/
H A Dgen_stub.php5390 foreach (array_reverse($flagsByPhpVersions, true) as $version => $versionFlags) {

Completed in 70 milliseconds