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