Lines Matching refs:array_multisort
2 Test array_multisort() function : error conditions
5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
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) );
21 echo "\n-- Testing array_multisort() function with repeated flags --\n";
23 var_dump( array_multisort($ar1, SORT_STRING, SORT_NUMERIC) );
28 *** Testing array_multisort() : error conditions ***
30 -- Testing array_multisort() function with Zero arguments --
32 Warning: array_multisort() expects at least 1 parameter, 0 given in %sarray_multisort_error.php on …
35 -- Testing array_multisort() function with repeated flags --
37 Warning: array_multisort(): Argument #3 is expected to be an array or sorting flag that has not alr…
40 -- Testing array_multisort() function with repeated flags --
42 Warning: array_multisort(): Argument #3 is expected to be an array or sorting flag that has not alr…