Home
last modified time | relevance | path

Searched refs:krsort (Results 1 – 19 of 19) sorted by relevance

/PHP-8.4/ext/standard/tests/array/
H A Dkrsort_variation11.phpt2 Test krsort() function : usage variations - sort bool values
11 echo "*** Testing krsort() : usage variations ***\n";
18 var_dump(krsort($temp_array) );
23 var_dump(krsort($temp_array, SORT_REGULAR) );
28 var_dump(krsort($temp_array, SORT_NUMERIC) );
33 var_dump(krsort($temp_array, SORT_STRING) );
39 *** Testing krsort() : usage variations ***
41 -- Testing krsort() by supplying boolean value array, 'flag' value is default --
50 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_REGULAR --
59 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_NUMERIC --
[all …]
H A Dkrsort_basic.phpt2 Test krsort() function : basic functionality
14 echo "*** Testing krsort() : basic functionality ***\n";
28 var_dump( krsort($temp_array) ); // expecting : bool(true)
33 var_dump( krsort($temp_array) ); // expecting : bool(true)
38 var_dump( krsort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
43 var_dump( krsort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
48 var_dump( krsort($temp_array, SORT_STRING) ); // expecting : bool(true)
58 var_dump( krsort($temp_array, SORT_NATURAL) ); // expecting : bool(true)
74 *** Testing krsort() : basic functionality ***
110 -- Testing krsort() by supplying string array, 'flag' = SORT_REGULAR --
[all …]
H A Dkrsort_variation4.phpt2 Test krsort() function : usage variations - sort octal values
6 * testing krsort() by providing array of octal values for $array argument
13 echo "*** Testing krsort() : usage variations ***\n";
21 echo "\n-- Testing krsort() by supplying octal value array, 'flag' value is default --\n";
23 var_dump( krsort($temp_array) ); // expecting : bool(true)
28 var_dump( krsort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
33 var_dump( krsort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
39 *** Testing krsort() : usage variations ***
41 -- Testing krsort() by supplying octal value array, 'flag' value is default --
64 -- Testing krsort() by supplying octal value array, 'flag' value is SORT_REGULAR --
[all …]
H A Dkrsort_variation6.phpt2 Test krsort() function : usage variations - sort hexadecimal values
6 * testing krsort() by providing array of hexa-decimal values for $array argument
13 echo "*** Testing krsort() : usage variations ***\n";
21 echo "\n-- Testing krsort() by supplying hexadecimal value array, 'flag' value is default --\n";
23 var_dump(krsort( $temp_array) ); // expecting : bool(true)
28 var_dump(krsort( $temp_array, SORT_REGULAR) ); // expecting : bool(true)
33 var_dump(krsort( $temp_array, SORT_NUMERIC) ); // expecting : bool(true)
39 *** Testing krsort() : usage variations ***
41 -- Testing krsort() by supplying hexadecimal value array, 'flag' value is default --
64 -- Testing krsort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --
[all …]
H A Dkrsort_variation10.phpt2 Test krsort() function : usage variations - sort heredoc strings
6 * testing krsort() by providing array of heredoc strings for $array argument with
13 echo "*** Testing krsort() : usage variations ***\n";
37 var_dump(krsort($temp_array) ); // expecting : bool(true)
42 var_dump(krsort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
45 echo "\n-- Testing krsort() by supplying heredoc string array, 'flag' = SORT_STRING --\n";
47 var_dump(krsort($temp_array, SORT_STRING) ); // expecting : bool(true)
53 *** Testing krsort() : usage variations ***
55 -- Testing krsort() by supplying heredoc string array, 'flag' value is default --
68 -- Testing krsort() by supplying heredoc string array, 'flag' = SORT_REGULAR --
[all …]
H A Dkrsort_object.phpt2 Test krsort() function : object functionality - sort objects
6 * testing krsort() by providing array of integer/string objects with following flag values:
11 echo "*** Testing krsort() : object functionality ***\n";
57 // testing krsort() function by supplying integer object array, flag value is default
59 var_dump(krsort($temp_array) );
62 // testing krsort() function by supplying string object array, flag value is default
64 var_dump(krsort($temp_array) );
70 var_dump(krsort($temp_array, SORT_REGULAR) );
75 var_dump(krsort($temp_array, SORT_REGULAR) );
81 *** Testing krsort() : object functionality ***
[all …]
H A Dkrsort_variation8.phpt2 Test krsort() function : usage variations - sort mixed values, 'sort_flags' as default/SORT_REGULAR…
6 * testing krsort() by providing array of mixed values for $array argument
12 echo "*** Testing krsort() : usage variations ***\n";
26 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is default --\n";
28 var_dump( krsort($temp_array) );
31 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
33 var_dump( krsort($temp_array, SORT_REGULAR) );
39 *** Testing krsort() : usage variations ***
41 -- Testing krsort() by supplying mixed value array, 'flag' value is default --
98 -- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dkrsort_variation3.phpt2 Test krsort() function : usage variations - sort integer/float values
6 * Testing krsort() by providing array of integer/float/mixed values for $array argument
13 echo "*** Testing krsort() : usage variations ***\n";
29 echo "\n-- Testing krsort() by supplying various integer/float arrays --\n";
31 // loop through to test krsort() with different arrays
37 var_dump(krsort($temp_array) );
40 // loop through $flags array and call krsort() with all possible sort flag values
44 var_dump(krsort($temp_array, $flag) );
53 *** Testing krsort() : usage variations ***
55 -- Testing krsort() by supplying various integer/float arrays --
H A Dkrsort_variation7.phpt2 Test krsort() function : usage variations - sort array with diff. sub arrays
6 * testing krsort() by providing arrays contains sub arrays for $array argument
12 echo "*** Testing krsort() : usage variations ***\n";
32 echo "\n-- Testing krsort() by supplying various arrays containing sub arrays --\n";
34 // loop through to test krsort() with different arrays
40 var_dump( krsort($temp_array) );
45 var_dump( krsort($temp_array, SORT_REGULAR) );
53 *** Testing krsort() : usage variations ***
55 -- Testing krsort() by supplying various arrays containing sub arrays --
H A Dkrsort_variation5.phpt2 Test krsort() function : usage variations - sort strings
6 * testing krsort() by providing array of string values for $array argument with
13 echo "*** Testing krsort() : usage variations ***\n";
32 echo "\n-- Testing krsort() by supplying various string arrays --\n";
34 // loop through to test krsort() with different arrays
40 var_dump(krsort($temp_array) ); // expecting : bool(true)
43 // loop through $flags array and call krsort() with all possible sort flag values
47 var_dump(krsort($temp_array, $flag) ); // expecting : bool(true)
56 *** Testing krsort() : usage variations ***
58 -- Testing krsort() by supplying various string arrays --
H A Dkrsort_variation9.phpt2 Test krsort() function : usage variations - sort array with/without key values
6 * Testing krsort() by providing arrays with/without key values for $array argument
12 echo "*** Testing krsort() : usage variations ***\n";
26 echo "\n-- Testing krsort() by supplying various arrays with/without key values --\n";
28 // loop through to test krsort() with different arrays,
34 var_dump( krsort($temp_array) );
39 var_dump( krsort($temp_array, SORT_REGULAR) );
47 *** Testing krsort() : usage variations ***
49 -- Testing krsort() by supplying various arrays with/without key values --
H A D002.phpt2 Test arsort, asort, krsort, ksort, rsort, and sort
27 foreach (array ('arsort', 'asort', 'krsort', 'ksort', 'rsort', 'sort') as $test_function) {
276 -- Testing krsort() --
/PHP-8.4/ext/spl/tests/
H A Dclass_implements_basic2.phpt29 krsort($arr);
H A Dclass_uses_basic2.phpt32 krsort($arr);
/PHP-8.4/ext/mysqli/tests/
H A Dmysqli_fetch_field_flags.phpt48 krsort($flags);
H A Dmysqli_stmt_bind_result_format.phpt245 krsort($values);
/PHP-8.4/ext/standard/
H A Dbasic_functions.stub.php1572 function krsort(array &$array, int $flags = SORT_REGULAR): true {} function
H A Dbasic_functions_arginfo.h2311 ZEND_FUNCTION(krsort);
2902 ZEND_FE(krsort, arginfo_krsort)
H A Darray.c568 PHP_FUNCTION(krsort) in PHP_FUNCTION() argument

Completed in 50 milliseconds