Searched refs:arsort (Results 1 – 18 of 18) sorted by relevance
/PHP-8.2/ext/standard/tests/array/ |
H A D | arsort_variation4.phpt | 2 Test arsort() function : usage variations - sort reference variables 6 * Testing arsort() by providing reference variable array with following flag values 12 echo "*** Testing arsort() :usage variations ***\n"; 23 var_dump( arsort($temp_array) ); // expecting : bool(true) 26 echo "\n-- Testing arsort() by supplying reference variable array, 'flag' = SORT_REGULAR --\n"; 28 var_dump( arsort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 33 var_dump( arsort($temp_array, SORT_NUMERIC) ); // expecting : bool(true) 39 *** Testing arsort() :usage variations *** 41 -- Testing arsort() by supplying reference variable array, 'flag' value is default -- 52 -- Testing arsort() by supplying reference variable array, 'flag' = SORT_REGULAR -- [all …]
|
H A D | arsort_basic.phpt | 2 Test arsort() function : basic functionality 14 echo "*** Testing arsort() : basic functionality ***\n"; 27 var_dump( arsort($temp_array) ); // expecting : bool(true) 32 var_dump( arsort($temp_array) ); // expecting : bool(true) 37 var_dump( arsort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 42 var_dump( arsort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 47 var_dump( arsort($temp_array, SORT_STRING) ); // expecting : bool(true) 57 var_dump( arsort($temp_array, SORT_NATURAL) ); // expecting : bool(true) 73 *** Testing arsort() : basic functionality *** 109 -- Testing arsort() by supplying string array, 'flag' = SORT_REGULAR -- [all …]
|
H A D | arsort_variation7.phpt | 2 Test arsort() function : usage variations - sort bool values 11 echo "*** Testing arsort() : usage variations ***\n"; 18 var_dump(arsort($temp_array) ); 23 var_dump(arsort($temp_array, SORT_REGULAR) ); 28 var_dump(arsort($temp_array, SORT_NUMERIC) ); 33 var_dump(arsort($temp_array, SORT_STRING) ); 39 *** Testing arsort() : usage variations *** 41 -- Testing arsort() by supplying bool value array, 'flag' value is default -- 54 -- Testing arsort() by supplying bool value array, 'flag' value is SORT_REGULAR -- 67 -- Testing arsort() by supplying bool value array, 'flag' value is SORT_NUMERIC -- [all …]
|
H A D | arsort_variation10.phpt | 2 Test arsort() function : usage variations - sort octal values 6 …* testing arsort() by providing different octal array for $array argument with following flag valu… 12 echo "*** Testing arsort() : usage variations ***\n"; 20 echo "\n-- Testing arsort() by supplying octal value array, 'flag' value is default --\n"; 22 var_dump( arsort($temp_array) ); // expecting : bool(true) 27 var_dump( arsort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 32 var_dump( arsort($temp_array, SORT_NUMERIC) ); // expecting : bool(true) 38 *** Testing arsort() : usage variations *** 40 -- Testing arsort() by supplying octal value array, 'flag' value is default -- 63 -- Testing arsort() by supplying octal value array, 'flag' value is SORT_REGULAR -- [all …]
|
H A D | arsort_variation6.phpt | 2 Test arsort() function : usage variations - sort hexadecimal values 6 …* testing arsort() by providing different hexa-decimal array for $array argument with following fl… 12 echo "*** Testing arsort() : usage variations ***\n"; 20 echo "\n-- Testing arsort() by supplying hexadecimal value array, 'flag' value is default --\n"; 22 var_dump(arsort($temp_array) ); // expecting : bool(true) 27 var_dump(arsort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 32 var_dump(arsort($temp_array, SORT_NUMERIC) ); // expecting : bool(true) 38 *** Testing arsort() : usage variations *** 40 -- Testing arsort() by supplying hexadecimal value array, 'flag' value is default -- 63 -- Testing arsort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR -- [all …]
|
H A D | arsort_object1.phpt | 2 Test arsort() function : object functionality - sort objects 6 * testing arsort() by providing integer/string object arrays with following flag values 11 echo "*** Testing arsort() : object functionality ***\n"; 58 // testing arsort() function by supplying integer object array, flag value is default 60 var_dump(arsort($temp_array) ); 63 // testing arsort() function by supplying string object array, flag value is default 65 var_dump(arsort($temp_array) ); 71 var_dump(arsort($temp_array, SORT_REGULAR) ); 76 var_dump(arsort($temp_array, SORT_REGULAR) ); 82 *** Testing arsort() : object functionality *** [all …]
|
H A D | arsort_variation8.phpt | 2 Test arsort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as defau… 6 …* testing arsort() by providing arrays contains sub arrays for $array argument with flowing flag v… 12 echo "*** Testing arsort() : usage variations ***\n"; 32 echo "\n-- Testing arsort() by supplying various arrays containing sub arrays --\n"; 34 // loop through to test arsort() with different arrays 38 // testing arsort() function by supplying different arrays, flag value is default 41 var_dump(arsort($temp_array) ); 44 // testing arsort() function by supplying different arrays, flag value = SORT_REGULAR 47 var_dump(arsort($temp_array, SORT_REGULAR) ); 55 *** Testing arsort() : usage variations *** [all …]
|
H A D | arsort_variation11.phpt | 2 Test arsort() function : usage variations - sort mixed values, 'sort_flags' as default/SORT_REGULAR… 6 * testing arsort() by providing mixed value array for $array argument with following flag values. 11 echo "*** Testing arsort() : usage variations ***\n"; 25 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is default --\n"; 27 var_dump( arsort($temp_array) ); 30 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n"; 32 var_dump( arsort($temp_array, SORT_REGULAR) ); 38 *** Testing arsort() : usage variations *** 40 -- Testing arsort() by supplying mixed value array, 'flag' value is default -- 97 -- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
|
H A D | arsort_object2.phpt | 2 Test arsort() function : object functionality - sorting objects with diff. accessibility of member … 6 * testing arsort() by providing integer/string object arrays with following flag values 11 echo "*** Testing arsort() : object functionality ***\n"; 62 // testing arsort() function by supplying integer object array, flag value is default 64 var_dump(arsort($temp_array) ); 67 // testing arsort() function by supplying string object array, flag value is default 69 var_dump(arsort($temp_array) ); 75 var_dump(arsort($temp_array, SORT_REGULAR) ); 80 var_dump(arsort($temp_array, SORT_REGULAR) ); 86 *** Testing arsort() : object functionality *** [all …]
|
H A D | arsort_variation3.phpt | 2 Test arsort() function : usage variations - sort integer/float values 6 …* Testing arsort() by providing different integer/float value arrays for $array argument with foll… 12 echo "*** Testing arsort() : usage variations ***\n"; 33 echo "\n-- Testing arsort() by supplying various integer/float arrays --\n"; 35 // loop through to test arsort() with different arrays 41 var_dump(arsort($temp_array) ); 48 var_dump(arsort($temp_array, $flag) ); 57 *** Testing arsort() : usage variations *** 59 -- Testing arsort() by supplying various integer/float arrays --
|
H A D | arsort_variation9.phpt | 2 Test arsort() function : usage variations - sorting arrays with/without keys, 'sort_flags' as defau… 6 …* Testing arsort() by providing arrays with key values for $array argument with following flag va… 11 echo "*** Testing arsort() : usage variations ***\n"; 25 echo "\n-- Testing arsort() by supplying various arrays with key values --\n"; 27 // loop through to test arsort() with different arrays, 34 var_dump(arsort($temp_array) ); 39 var_dump(arsort($temp_array, SORT_REGULAR) ); 47 *** Testing arsort() : usage variations *** 49 -- Testing arsort() by supplying various arrays with key values --
|
H A D | arsort_variation5.phpt | 2 Test arsort() function : usage variations - sort strings 6 …* testing arsort() by providing different string arrays for $array argument with following flag va… 12 echo "*** Testing arsort() : usage variations ***\n"; 31 echo "\n-- Testing arsort() by supplying various string arrays --\n"; 33 // loop through to test arsort() with different arrays 39 var_dump(arsort($temp_array) ); // expecting : bool(true) 46 var_dump(arsort($temp_array, $flag) ); // expecting : bool(true) 55 *** Testing arsort() : usage variations *** 57 -- Testing arsort() by supplying various string arrays --
|
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) { 58 -- Testing arsort() --
|
/PHP-8.2/Zend/tests/ |
H A D | bug63882_2.phpt | 2 Bug #63882_2 (arsort crash on recursion) 16 arsort($a);
|
/PHP-8.2/ext/standard/ |
H A D | basic_functions.stub.php | 922 function arsort(array &$array, int $flags = SORT_REGULAR): true {} function
|
H A D | basic_functions_arginfo.h | 2233 ZEND_FUNCTION(arsort); 2855 ZEND_FE(arsort, arginfo_arsort)
|
H A D | array.c | 753 PHP_FUNCTION(arsort) in PHP_FUNCTION() argument
|
/PHP-8.2/build/ |
H A D | gen_stub.php | 4723 arsort($parameterStats);
|
Completed in 59 milliseconds