Searched refs:rsort (Results 1 – 17 of 17) sorted by relevance
/PHP-8.2/ext/standard/tests/array/ |
H A D | rsort_basic.phpt | 2 Test rsort() function : basic functionality 6 * Test basic functionality of rsort() 9 echo "*** Testing rsort() : basic functionality ***\n"; 23 var_dump( rsort($temp_array) ); 28 var_dump( rsort($temp_array) ); 33 var_dump( rsort($temp_array, SORT_REGULAR) ); 38 var_dump( rsort($temp_array, SORT_REGULAR) ); 43 var_dump( rsort($temp_array, SORT_STRING) ); 63 var_dump( rsort($temp_array, SORT_NUMERIC) ); 69 *** Testing rsort() : basic functionality *** [all …]
|
H A D | rsort_variation10.phpt | 2 Test rsort() function : usage variations - Octal values 6 * Pass rsort() an array containing octal values to test behaviour 9 echo "*** Testing rsort() : variation ***\n"; 16 var_dump(rsort($temp_array) ); 21 var_dump(rsort($temp_array, SORT_REGULAR) ); 26 var_dump(rsort($temp_array, SORT_NUMERIC) ); 32 *** Testing rsort() : variation ***
|
H A D | rsort_variation7.phpt | 2 Test rsort() function : usage variations - boolean values 6 * Pass rsort() arrays of boolean values to test behaviour 9 echo "*** Testing rsort() : variation ***\n"; 16 var_dump(rsort($temp_array) ); 21 var_dump(rsort($temp_array, SORT_REGULAR) ); 26 var_dump(rsort($temp_array, SORT_NUMERIC) ); 31 var_dump(rsort($temp_array, SORT_STRING) ); 37 *** Testing rsort() : variation ***
|
H A D | rsort_variation4.phpt | 2 Test rsort() function : usage variations - referenced variables 6 * Test behaviour of rsort() when: 12 echo "*** Testing rsort() : variation ***\n"; 23 var_dump( rsort($temp_array) ); 28 var_dump( rsort($temp_array, SORT_REGULAR) ); 34 *** Testing rsort() : variation ***
|
H A D | rsort_variation6.phpt | 2 Test rsort() function : usage variations - Hexadecimal vales 6 * Pass rsort() an array of hexadecimal values to test behaviour 9 echo "*** Testing rsort() : variation ***\n"; 16 var_dump(rsort($temp_array) ); 21 var_dump(rsort($temp_array, SORT_REGULAR) ); 26 var_dump(rsort($temp_array, SORT_NUMERIC) ); 32 *** Testing rsort() : variation ***
|
H A D | rsort_object1.phpt | 2 Test rsort() function : object functionality 6 * Test basic functionality of rsort() with objects 9 echo "*** Testing rsort() : object functionality ***\n"; 56 // testing rsort() function by supplying integer object array, flag value is default 58 var_dump(rsort($temp_array) ); 61 // testing rsort() function by supplying string object array, flag value is default 63 var_dump(rsort($temp_array) ); 69 var_dump(rsort($temp_array, SORT_REGULAR) ); 72 // testing rsort() function by supplying string object array, flag value = SORT_REGULAR 74 var_dump(rsort($temp_array, SORT_REGULAR) ); [all …]
|
H A D | rsort_variation8.phpt | 2 Test rsort() function : usage variations - multi-dimensional arrays 6 * Pass rsort() multi-dimensional arrays to test behaviour 9 echo "*** Testing rsort() : variation ***\n"; 29 // loop through to test rsort() with different arrays 36 var_dump(rsort($temp_array) ); 41 var_dump(rsort($temp_array, SORT_REGULAR) ); 49 *** Testing rsort() : variation ***
|
H A D | rsort_variation11.phpt | 2 Test rsort() function : usage variations - mixed array 6 * Pass rsort() an array of different data types to test behaviour 9 echo "*** Testing rsort() : variation ***\n"; 25 var_dump(rsort($temp_array) ); 30 var_dump(rsort($temp_array, SORT_REGULAR) ); 36 *** Testing rsort() : variation ***
|
H A D | rsort_object2.phpt | 2 Test rsort() function : object functionality - different visibilities 6 * Test functionality of rsort() with objects where properties have different visibilities 9 echo "*** Testing rsort() : object functionality ***\n"; 67 // testing rsort() function by supplying integer object array, flag value is default 69 var_dump(rsort($temp_array) ); 72 // testing rsort() function by supplying string object array, flag value is default 74 var_dump(rsort($temp_array) ); 80 var_dump(rsort($temp_array, SORT_REGULAR) ); 83 // testing rsort() function by supplying string object array, flag value = SORT_REGULAR 85 var_dump(rsort($temp_array, SORT_REGULAR) ); [all …]
|
H A D | rsort_variation5.phpt | 2 Test rsort() function : usage variations - String values 6 * Pass arrays containing different string data to rsort() to test behaviour 9 echo "*** Testing rsort() : variation ***\n"; 22 // loop through to test rsort() with different arrays 28 var_dump(rsort($temp_array) ); 36 var_dump(rsort($temp_array, $flag) ); 45 *** Testing rsort() : variation ***
|
H A D | rsort_variation9.phpt | 2 Test rsort() function : usage variations - mixed associative arrays 6 * Pass rsort() associative arrays to test key re-assignment 9 echo "*** Testing rsort() : variation ***\n"; 33 // loop through to test rsort() with different arrays, 40 var_dump(rsort($temp_array) ); 45 var_dump(rsort($temp_array, SORT_REGULAR) ); 53 *** Testing rsort() : variation ***
|
H A D | rsort_variation3.phpt | 2 Test rsort() function : usage variations - numeric values 10 * Pass arrays containing different numeric data to rsort() to test behaviour 13 echo "*** Testing rsort() : variation ***\n"; 36 // loop through to test rsort() with different arrays 42 var_dump(rsort($temp_array) ); 49 var_dump(rsort($temp_array, $flag) ); 58 *** Testing rsort() : variation ***
|
H A D | 002.phpt | 2 Test arsort, asort, krsort, ksort, rsort, and sort 27 foreach (array ('arsort', 'asort', 'krsort', 'ksort', 'rsort', 'sort') as $test_function) { 472 -- Testing rsort() --
|
/PHP-8.2/Zend/tests/ |
H A D | foreach_011.phpt | 9 rsort($a);
|
/PHP-8.2/ext/standard/ |
H A D | basic_functions.stub.php | 926 function rsort(array &$array, int $flags = SORT_REGULAR): bool {} function
|
H A D | basic_functions_arginfo.h | 2235 ZEND_FUNCTION(rsort); 2857 ZEND_FE(rsort, arginfo_rsort)
|
H A D | array.c | 795 PHP_FUNCTION(rsort) in PHP_FUNCTION() argument
|
Completed in 42 milliseconds