Lines Matching refs:ctype_punct
2 Test ctype_punct() function : error conditions - incorrect number of args
7 /* Prototype : bool ctype_punct(mixed $c)
14 * Pass incorrect number of arguments to ctype_punct() to test behaviour
17 echo "*** Testing ctype_punct() : error conditions ***\n";
22 echo "\n-- Testing ctype_punct() function with Zero arguments --\n";
23 var_dump( ctype_punct() );
25 //Test ctype_punct with one more than the expected number of arguments
26 echo "\n-- Testing ctype_punct() function with more than expected no. of arguments --\n";
29 var_dump( ctype_punct($c, $extra_arg) );
35 *** Testing ctype_punct() : error conditions ***
37 -- Testing ctype_punct() function with Zero arguments --
39 Warning: ctype_punct() expects exactly 1 parameter, 0 given in %s on line %d
42 -- Testing ctype_punct() function with more than expected no. of arguments --
44 Warning: ctype_punct() expects exactly 1 parameter, 2 given in %s on line %d