Home
last modified time | relevance | path

Searched refs:SORT_NATURAL (Results 1 – 11 of 11) sorted by relevance

/php-src/ext/standard/tests/array/sort/
H A Drsort_basic.phpt51 echo "\n-- Testing rsort() by supplying string array (natural), 'flag' = SORT_NATURAL --\n";
53 var_dump( rsort($temp_array, SORT_NATURAL) ); // expecting : bool(true)
56 …ort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SORT_FLAG_CASE …
58 var_dump( rsort($temp_array, SORT_NATURAL|SORT_FLAG_CASE) ); // expecting : bool(true)
181 -- Testing rsort() by supplying string array (natural), 'flag' = SORT_NATURAL --
202 -- Testing rsort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SOR…
H A Dsort_basic.phpt56 echo "\n-- Testing sort() by supplying string array (natural), 'flag' = SORT_NATURAL --\n";
58 var_dump( sort($temp_array, SORT_NATURAL) ); // expecting : bool(true)
61 …ort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SORT_FLAG_CASE …
63 var_dump( sort($temp_array, SORT_NATURAL|SORT_FLAG_CASE) ); // expecting : bool(true)
186 -- Testing sort() by supplying string array (natural), 'flag' = SORT_NATURAL --
207 -- Testing sort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SORT…
H A Dasort_basic.phpt55 echo "\n-- Testing asort() by supplying string array (natural), 'flag' = SORT_NATURAL --\n";
57 var_dump( asort($temp_array, SORT_NATURAL) ); // expecting : bool(true)
60 …ort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SORT_FLAG_CASE …
62 var_dump( asort($temp_array, SORT_NATURAL|SORT_FLAG_CASE) ); // expecting : bool(true)
185 -- Testing asort() by supplying string array (natural), 'flag' = SORT_NATURAL --
206 -- Testing asort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SOR…
H A Dkrsort_basic.phpt56 echo "\n-- Testing krsort() by supplying string array (natural), 'flag' = SORT_NATURAL --\n";
58 var_dump( krsort($temp_array, SORT_NATURAL) ); // expecting : bool(true)
61 …ort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SORT_FLAG_CASE …
63 var_dump( krsort($temp_array, SORT_NATURAL|SORT_FLAG_CASE) ); // expecting : bool(true)
186 -- Testing krsort() by supplying string array (natural), 'flag' = SORT_NATURAL --
207 -- Testing krsort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SO…
H A Darsort_basic.phpt55 echo "\n-- Testing arsort() by supplying string array (natural), 'flag' = SORT_NATURAL --\n";
57 var_dump( arsort($temp_array, SORT_NATURAL) ); // expecting : bool(true)
60 …ort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SORT_FLAG_CASE …
62 var_dump( arsort($temp_array, SORT_NATURAL|SORT_FLAG_CASE) ); // expecting : bool(true)
185 -- Testing arsort() by supplying string array (natural), 'flag' = SORT_NATURAL --
206 -- Testing arsort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SO…
H A Dksort_basic.phpt54 echo "\n-- Testing ksort() by supplying string array (natural), 'flag' = SORT_NATURAL --\n";
56 var_dump( ksort($temp_array, SORT_NATURAL) ); // expecting : bool(true)
59 …ort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SORT_FLAG_CASE …
61 var_dump( ksort($temp_array, SORT_NATURAL|SORT_FLAG_CASE) ); // expecting : bool(true)
184 -- Testing ksort() by supplying string array (natural), 'flag' = SORT_NATURAL --
205 -- Testing ksort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SOR…
H A Darray_multisort_natural.phpt23 array_multisort($b, SORT_NATURAL, $a);
H A Darray_multisort_natural_case.phpt27 array_multisort($b, SORT_NATURAL, $a);
H A Darray_multisort_natural_incase.phpt27 array_multisort($b, SORT_NATURAL | SORT_FLAG_CASE, $a);
H A Darray_multisort_variation2.phpt98 // loop through each element of the array for SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SO…
/php-src/ext/standard/
H A Dbasic_functions.stub.php83 const SORT_NATURAL = UNKNOWN; define

Completed in 36 milliseconds