Lines Matching refs:sprintf
2 Test sprintf() function : basic functionality - unsigned format
7 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
12 echo "*** Testing sprintf() : basic functionality - using unsigned format ***\n";
24 // Calling sprintf() with default arguments
25 var_dump( sprintf($format) );
27 // Calling sprintf() with two arguments
28 var_dump( sprintf($format1, $arg1) );
30 // Calling sprintf() with three arguments
31 var_dump( sprintf($format2, $arg1, $arg2) );
33 // Calling sprintf() with four arguments
34 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
39 *** Testing sprintf() : basic functionality - using unsigned format ***