Lines Matching refs:strlen
2 Test strlen() function : error conditions
6 /* Prototype : int strlen ( string $string )
11 echo "*** Testing strlen() : unexpected number of arguments ***";
14 echo "\n-- Testing strlen() function with no arguments --\n";
15 var_dump( strlen() );
17 echo "\n-- Testing strlen() function with more than expected no. of arguments --\n";
19 var_dump( strlen("abc def", $extra_arg) );
23 *** Testing strlen() : unexpected number of arguments ***
24 -- Testing strlen() function with no arguments --
26 Warning: strlen() expects exactly 1 parameter, 0 given in %s on line %d
29 -- Testing strlen() function with more than expected no. of arguments --
31 Warning: strlen() expects exactly 1 parameter, 2 given in %s on line %d