note 17174 deleted from function.vsprintf by jimw

From: Date: Mon, 17 Dec 2001 23:28:04 +0000
Subject: note 17174 deleted from function.vsprintf by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23088@lists.php.net to get a copy of this message
// Here's an implementation for the rest of us. =) function vsprintf($str, $args) { $etc = '$args[' . implode('], $args[', array_keys($args)) . ']'; return $args ? eval("return sprintf(\$str, $etc);") : sprintf($str); }

« previous php.notes (#23088) next »