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