Lines Matching refs:vprintf
2 Test vprintf() function : error conditions
5 /* Prototype : int vprintf(string $format , array $args)
10 echo "*** Testing vprintf() : error conditions ***\n";
18 echo "\n-- Testing vprintf() function with Zero arguments --\n";
19 var_dump( vprintf() );
21 echo "\n-- Testing vprintf() function with less than expected no. of arguments --\n";
22 var_dump( vprintf($format) );
24 echo "\n-- testing vprintf() function with more than expected no. of arguments --\n";
25 var_dump( vprintf($format, $args, $extra_arg) );
30 *** Testing vprintf() : error conditions ***
32 -- Testing vprintf() function with Zero arguments --
34 Warning: vprintf() expects at least 1 parameter, 0 given in %s on line %d
37 -- Testing vprintf() function with less than expected no. of arguments --
39 Warning: Wrong parameter count for vprintf() in %s on line %d
42 -- testing vprintf() function with more than expected no. of arguments --
44 Warning: Wrong parameter count for vprintf() in %s on line %d