note 72241 rejected from function.sprintf by nlopess
| From: | nlopess@php.net | Date: | Tue, 09 Jan 2007 18:36:29 +0000 |
| Subject: | note 72241 rejected from function.sprintf by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-121493@lists.php.net to get a copy of this message | ||
Note Submitter: www dot wesley at gmail dot com
----
it would be great IF we could do something like this:
<?php
$array = array('Value 1','Value 2');
echo sprintf('Key 1: %2$s<br />Key 0: %1$s',$array);
?>