Lines Matching refs:sprintf
2 Test sprintf() function : basic functionality - string format
5 echo "*** Testing sprintf() : basic functionality - using string format ***\n";
16 // Calling sprintf() with default arguments
17 var_dump( sprintf($format) );
19 // Calling sprintf() with two arguments
20 var_dump( sprintf($format1, $arg1) );
22 // Calling sprintf() with three arguments
23 var_dump( sprintf($format2, $arg1, $arg2) );
25 // Calling sprintf() with four arguments
26 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
31 *** Testing sprintf() : basic functionality - using string format ***