Lines Matching refs:ctype_alpha
2 Test ctype_alpha() function : error conditions - Incorrect number of arguments
7 /* Prototype : bool ctype_alpha(mixed $c)
13 * Pass an incorrect number of arguments to ctype_alpha() to test behaviour
16 echo "*** Testing ctype_alpha() : error conditions ***\n";
19 echo "\n-- Testing ctype_alpha() function with Zero arguments --\n";
20 var_dump( ctype_alpha() );
22 //Test ctype_alpha with one more than the expected number of arguments
23 echo "\n-- Testing ctype_alpha() function with more than expected no. of arguments --\n";
26 var_dump( ctype_alpha($c, $extra_arg) );
30 *** Testing ctype_alpha() : error conditions ***
32 -- Testing ctype_alpha() function with Zero arguments --
34 Warning: ctype_alpha() expects exactly 1 parameter, 0 given in %s on line %d
37 -- Testing ctype_alpha() function with more than expected no. of arguments --
39 Warning: ctype_alpha() expects exactly 1 parameter, 2 given in %s on line %d