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