Lines Matching refs:printf
2 Test printf() function : error conditions
5 echo "*** Testing printf() : error conditions ***\n";
8 echo "\n-- Testing printf() function with Zero arguments --\n";
10 var_dump( printf() );
15 echo "\n-- Testing printf() function with less than expected no. of arguments --\n";
22 echo "\n-- Call printf with one argument less than expected --\n";
24 var_dump( printf($format1) );
29 var_dump( printf($format2,$arg1) );
34 var_dump( printf($format3,$arg1,$arg2) );
39 echo "\n-- Call printf with two argument less than expected --\n";
41 var_dump( printf($format2) );
46 var_dump( printf($format3,$arg1) );
51 echo "\n-- Call printf with three argument less than expected --\n";
53 var_dump( printf($format3) );
60 *** Testing printf() : error conditions ***
62 -- Testing printf() function with Zero arguments --
63 printf() expects at least 1 argument, 0 given
65 -- Testing printf() function with less than expected no. of arguments --
67 -- Call printf with one argument less than expected --
72 -- Call printf with two argument less than expected --
76 -- Call printf with three argument less than expected --