Lines Matching refs:sprintf
2 Test sprintf() function : basic functionality - unsigned format
11 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
16 echo "*** Testing sprintf() : basic functionality - using unsigned format ***\n";
28 // Calling sprintf() with default arguments
29 var_dump( sprintf($format) );
31 // Calling sprintf() with two arguments
32 var_dump( sprintf($format1, $arg1) );
34 // Calling sprintf() with three arguments
35 var_dump( sprintf($format2, $arg1, $arg2) );
37 // Calling sprintf() with four arguments
38 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
43 *** Testing sprintf() : basic functionality - using unsigned format ***