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