Lines Matching refs:sprintf
2 Test sprintf() function : basic functionality - integer format
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
10 echo "*** Testing sprintf() : basic functionality - using integer format ***\n";
22 // Calling sprintf() with default arguments
23 var_dump( sprintf($format) );
25 // Calling sprintf() with two arguments
26 var_dump( sprintf($format1, $arg1) );
28 // Calling sprintf() with three arguments
29 var_dump( sprintf($format2, $arg1, $arg2) );
31 // Calling sprintf() with four arguments
32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
37 *** Testing sprintf() : basic functionality - using integer format ***