note 74358 deleted from function.sprintf by bjori
| From: | bjori@php.net | Date: | Sat, 07 Apr 2007 15:28:43 +0000 |
| Subject: | note 74358 deleted from function.sprintf by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125173@lists.php.net to get a copy of this message | ||
Note Submitter: Jannes
Reason: I dont want to use the d and s variables...
----
When you use an argument more than one time don't escape the "$":
$format = "The %2$s contains %1$d monkeys.
That's a nice %2$s full of %1$d monkeys.";