Req #48320 [Fbk->NoF]: assoc arrays with vsprintf

From: Date: Tue, 30 Dec 2014 10:41:33 +0000
Subject: Req #48320 [Fbk->NoF]: assoc arrays with vsprintf
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189386@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=48320&edit=1 ID: 48320 Updated by: php-bugs@lists.php.net Reported by: yasar dot oezdemir at web dot de Summary: assoc arrays with vsprintf -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: Strings related Operating System: Irrelevant PHP Version: Any Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2014-04-30 22:51:44] levim@php.net Is this something you are still interested in seeing? ------------------------------------------------------------------------ [2009-05-18 21:32:01] yasar dot oezdemir at web dot de Description: ------------ It would be VERY helpful if you could add the functionality of associated arrays in vpsprintf. That would also make many view template scripts easier. Reproduce code: --------------- vsprintf("%2$s %1$s", array('bar','foo')) Expected result: ---------------- vsprintf("%first$s %second$s", array('second'=>'bar','first'=>'foo')) Actual result: -------------- foo bar ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=48320&edit=1

« previous php.bugs (#189386) next »