Lines Matching refs:sprintf
2 Test sprintf() function : usage variations - typical format strings
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
10 echo "*** Testing sprintf() : with typical format strings ***\n";
17 var_dump(sprintf("%%%.2f", 1.23456789e10));
20 var_dump(sprintf("%%", 1.23456789e10));
23 var_dump(sprintf("%.988f", 1.23456789e10));
26 var_dump(sprintf("%030.-15s", $tempstring));
29 var_dump(sprintf("%X", 12));
32 var_dump(sprintf("%d %s %d\n", $tempnum, $tempstring, $tempnum));
35 var_dump(sprintf("%s", $tempstring, $tempstring, $tempstring));
40 *** Testing sprintf() : with typical format strings ***
50 Notice: sprintf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %…