#50640 [Opn->Bgs]: Documentation error

From: Date: Sun, 03 Jan 2010 09:14:22 +0000
Subject: #50640 [Opn->Bgs]: Documentation error
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3602@lists.php.net to get a copy of this message
ID: 50640 Updated by: degeberg@php.net Reported By: user at example dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: none PHP Version: 5.2.12 New Comment: Thank you for your bug report. The format in the manual is correct, however. Perhaps you made another mistake that makes your code not work. Previous Comments: ------------------------------------------------------------------------ [2010-01-03 01:19:38] user at example dot com Description: ------------ The explanation on this page is incorrect Examples 3 and 4 are false Reproduce code: --------------- --- From manual page: function.sprintf#Parameters --- %1$s is not a valid syntax , the correct syntax is %1\$s a backslash is needed before $ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50640&edit=1

« previous php.doc.bugs (#3602) next »