note 72241 added to function.sprintf
| From: | www dot wesley at gmail dot com | Date: | Tue, 09 Jan 2007 04:58:04 +0000 |
| Subject: | note 72241 added to function.sprintf | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-121475@lists.php.net to get a copy of this message | ||
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);
?>
----
Server IP: 66.163.161.117
Probable Submitter: 201.79.161.235
----
Manual Page -- http://www.php.net/manual/en/function.sprintf.php
Edit -- https://master.php.net/note/edit/72241
Del: integrated -- https://master.php.net/note/delete/72241/integrated
Del: useless -- https://master.php.net/note/delete/72241/useless
Del: bad code -- https://master.php.net/note/delete/72241/bad+code
Del: spam -- https://master.php.net/note/delete/72241/spam
Del: non-english -- https://master.php.net/note/delete/72241/non-english
Del: in docs -- https://master.php.net/note/delete/72241/in+docs
Del: other reasons-- https://master.php.net/note/delete/72241
Reject -- https://master.php.net/note/reject/72241
Search -- https://master.php.net/manage/user-notes.php