ID: 32617 Updated by: [EMAIL PROTECTED] Reported By: tommy at apt dot no -Status: Open +Status: Bogus Bug Type: Documentation problem PHP Version: Irrelevant New Comment:
This is not a bug. The slashes are required because you have the integer specifying the order in front of the $. Previous Comments: ------------------------------------------------------------------------ [2005-04-07 09:45:27] tommy at apt dot no Description: ------------ http://se.php.net/sprintf#AEN144043 The slashes infront of the $ shouldn't as far as I can see, be there: Example 3. Argument swapping <?php $format = "The %2\$s contains %1\$d monkeys"; printf($format, $num, $location); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32617&edit=1