Home
last modified time | relevance | path

Searched refs:array_multisort (Results 1 – 25 of 27) sorted by relevance

12

/PHP-5.6/ext/standard/tests/array/
H A Darray_multisort_error.phpt2 Test array_multisort() function : error conditions
11 echo "*** Testing array_multisort() : error conditions ***\n";
14 echo "\n-- Testing array_multisort() function with Zero arguments --\n";
15 var_dump( array_multisort() );
17 echo "\n-- Testing array_multisort() function with repeated flags --\n";
19 var_dump( array_multisort($ar1, SORT_ASC, SORT_ASC) );
23 var_dump( array_multisort($ar1, SORT_STRING, SORT_NUMERIC) );
28 *** Testing array_multisort() : error conditions ***
30 -- Testing array_multisort() function with Zero arguments --
35 -- Testing array_multisort() function with repeated flags --
[all …]
H A Darray_multisort_basic1.phpt2 Test array_multisort() function : basic functionality
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : basic functionality ***\n";
17 echo "\n-- Testing array_multisort() function with all normal arguments --\n";
18 var_dump( array_multisort($ar1, SORT_ASC, SORT_REGULAR, $ar2, SORT_DESC, SORT_STRING) );
21 echo "\n-- Testing array_multisort() function with one argument --\n";
22 var_dump( array_multisort($ar2) );
29 *** Testing array_multisort() : basic functionality ***
31 -- Testing array_multisort() function with all normal arguments --
50 -- Testing array_multisort() function with one argument --
H A Darray_multisort_variation2.phpt2 Test array_multisort() function : usage variation
11 echo "*** Testing array_multisort() : usage variation ***\n";
108 var_dump( array_multisort($ar1, $value) );
114 *** Testing array_multisort() : usage variation ***
123 Error: 2 - array_multisort(): Argument #2 is an unknown sort flag, %sarray_multisort_variation2.php…
127 Error: 2 - array_multisort(): Argument #2 is an unknown sort flag, %sarray_multisort_variation2.php…
131 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
135 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
151 Error: 2 - array_multisort(): Array sizes are inconsistent, %sarray_multisort_variation2.php(%d)
155 Error: 2 - array_multisort(): Array sizes are inconsistent, %sarray_multisort_variation2.php(%d)
[all …]
H A Darray_multisort_variation1.phpt2 Test array_multisort() function : usage variation
11 echo "*** Testing array_multisort() : usage variation ***\n";
100 var_dump( array_multisort($value));
106 *** Testing array_multisort() : usage variation ***
117 Error: 2 - array_multisort(): Argument #1 is an unknown sort flag, %sarray_multisort_variation1.php…
121 Error: 2 - array_multisort(): Argument #1 is an unknown sort flag, %sarray_multisort_variation1.php…
125 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
129 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
133 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
137 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
[all …]
H A Darray_multisort_variation3.phpt2 Test array_multisort() function : usage variation
11 echo "*** Testing array_multisort() : usage variation ***\n";
101 var_dump( array_multisort($ar1, SORT_REGULAR, $value) );
107 *** Testing array_multisort() : usage variation ***
118 Error: 2 - array_multisort(): Argument #3 is an unknown sort flag, %sarray_multisort_variation3.php…
122 Error: 2 - array_multisort(): Argument #3 is an unknown sort flag, %sarray_multisort_variation3.php…
126 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
130 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
134 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
138 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
[all …]
H A Darray_multisort_variation5.phpt2 Test array_multisort() function : usage variation - testing with multiple array arguments
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : Testing all array sort specifiers ***\n";
15 array_multisort($ar, SORT_REGULAR, SORT_ASC);
18 array_multisort($ar, SORT_STRING, SORT_ASC);
21 array_multisort($ar, SORT_NUMERIC, SORT_ASC);
28 *** Testing array_multisort() : Testing all array sort specifiers ***
H A Darray_multisort_variation6.phpt2 Test array_multisort() function : usage variation - testing with multiple array arguments
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : Testing all array sort specifiers ***\n";
15 array_multisort($ar, SORT_REGULAR, SORT_DESC);
18 array_multisort($ar, SORT_STRING, SORT_DESC);
21 array_multisort($ar, SORT_NUMERIC, SORT_DESC);
28 *** Testing array_multisort() : Testing all array sort specifiers ***
H A Darray_multisort_basic2.phpt2 Test array_multisort() function : basic functionality
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : basic functionality - renumbering of numeric keys ***\n";
17 echo "\n-- Testing array_multisort() function with all normal arguments --\n";
18 var_dump( array_multisort($ar1, SORT_ASC, SORT_REGULAR, $ar2, SORT_ASC, SORT_NUMERIC) );
24 *** Testing array_multisort() : basic functionality - renumbering of numeric keys ***
26 -- Testing array_multisort() function with all normal arguments --
H A Darray_multisort_variation10.phpt2 Test array_multisort() function : usage variation - testing with anonymous arrary arguments
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : Testing with anonymous arguments ***\n";
13 var_dump(array_multisort(array(1,3,2,4)));
18 *** Testing array_multisort() : Testing with anonymous arguments ***
H A Darray_multisort_variation11.phpt2 Test array_multisort() function : usage variation - testing with empty array
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : Testing with empty array ***\n";
13 var_dump(array_multisort(array()));
19 *** Testing array_multisort() : Testing with empty array ***
H A Darray_multisort_natural.phpt2 Test array_multisort() function : natural sorting
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : natural sorting\n";
29 array_multisort($b, SORT_NATURAL, $a);
36 *** Testing array_multisort() : natural sorting
H A Darray_multisort_variation4.phpt2 Test array_multisort() function : usage variation - testing with multiple array arguments
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : Testing with multiple array arguments ***\n";
17 var_dump(array_multisort($arr1, $arr2, $arr3));
26 *** Testing array_multisort() : Testing with multiple array arguments ***
H A Darray_multisort_case.phpt2 Test array_multisort() function : case-sensitive
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : case-sensitive\n";
33 array_multisort($b, SORT_STRING, $a);
40 *** Testing array_multisort() : case-sensitive
H A Darray_multisort_incase.phpt2 Test array_multisort() function : case-insensitive
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : case-insensitive\n";
33 array_multisort($b, SORT_STRING | SORT_FLAG_CASE, $a);
40 *** Testing array_multisort() : case-insensitive
H A Darray_multisort_natural_case.phpt2 Test array_multisort() function : natural sorting case-sensitive
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : natural sorting case-sensitive\n";
33 array_multisort($b, SORT_NATURAL, $a);
40 *** Testing array_multisort() : natural sorting case-sensitive
H A Darray_multisort_natural_incase.phpt2 Test array_multisort() function : natural sorting case-insensitive
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : natural sorting case-insensitive\n";
33 array_multisort($b, SORT_NATURAL | SORT_FLAG_CASE, $a);
40 *** Testing array_multisort() : natural sorting case-insensitive
H A Dbug25359.phpt2 Bug #25359 (array_multisort() does not work in a function if array is global or reference)
8 global $data; // Remove this line to make array_multisort() work
12 array_multisort($sort, $data);
H A Darray_multisort_variation7.phpt2 Test array_multisort() function : usage variation - test sort order of all types
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : usage variation - test sort order of all types***\n";
35 var_dump(array_multisort($inputs));
41 *** Testing array_multisort() : usage variation - test sort order of all types***
H A Darray_multisort_variation8.phpt2 Test array_multisort() function : usage variation - test sort order of all types
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : usage variation - test sort order of all types***\n";
41 var_dump(array_multisort($inputs, SORT_STRING));
47 *** Testing array_multisort() : usage variation - test sort order of all types***
H A Dbug24897.phpt2 Bug #24897 (inconsistent behaviour or shuffle() & array_multisort())
10 array_multisort($a);
H A Darray_multisort_variation9.phpt2 Test array_multisort() function : usage variation - test sort order of all types
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
11 echo "*** Testing array_multisort() : usage variation - test sort order of all types***\n";
35 var_dump(array_multisort($inputs, SORT_NUMERIC));
41 *** Testing array_multisort() : usage variation - test sort order of all types***
/PHP-5.6/Zend/tests/
H A Dbug52939.phpt6 var_dump(array_multisort($ar1));
11 var_dump(call_user_func_array("array_multisort", $args));
16 var_dump(call_user_func_array("array_multisort", $args));
/PHP-5.6/ext/reflection/tests/
H A DReflectionParameter_canBePassedByValue.phpt19 echo "=> array_multisort:\n\n";
21 aux('array_multisort');
38 => array_multisort:
/PHP-5.6/ext/standard/
H A Dphp_array.h60 PHP_FUNCTION(array_multisort);
H A Darray.c3690 PHP_FUNCTION(array_multisort) in PHP_FUNCTION() argument

Completed in 31 milliseconds

12