Lines Matching refs:strcoll
2 Test strcoll() function : error conditions
5 /* Prototype: int strcoll ( string $str1 , string $str2 )
9 echo "*** Testing strcoll() : error conditions ***\n";
11 echo "\n-- Testing strcoll() function with no arguments --\n";
12 var_dump( strcoll() );
13 var_dump( strcoll("") );
15 echo "\n-- Testing strcoll() function with one argument --\n";
16 var_dump( strcoll("Hello World") );
18 echo "\n-- Testing strcoll() function with more than expected no. of arguments --\n";
20 var_dump( strcoll("Hello World", "World", $extra_arg) );
25 *** Testing strcoll() : error conditions ***
27 -- Testing strcoll() function with no arguments --
29 Warning: strcoll() expects exactly 2 parameters, 0 given in %s on line %d
32 Warning: strcoll() expects exactly 2 parameters, 1 given in %s on line %d
35 -- Testing strcoll() function with one argument --
37 Warning: strcoll() expects exactly 2 parameters, 1 given in %s on line %d
40 -- Testing strcoll() function with more than expected no. of arguments --
42 Warning: strcoll() expects exactly 2 parameters, 3 given in %s on line %d