Doc #64371 [Opn->Csd]: sprintf formatting characters aren't sorted correctly
| From: | krakjoe@php.net | Date: | Wed, 23 Oct 2013 08:32:04 +0000 |
| Subject: | Doc #64371 [Opn->Csd]: sprintf formatting characters aren't sorted correctly | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10530@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64371&edit=1
ID: 64371
Updated by: krakjoe@php.net
Reported by: dharkness at gmail dot com
Summary: sprintf formatting characters aren't sorted
correctly
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
How do I collect my points !?
Thanks for your input :)
Previous Comments:
------------------------------------------------------------------------
[2013-10-23 08:31:40] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=331922
Log: #64371 fix alphabetical ordering of specifiers, add table for extra points concerning co-ercion
------------------------------------------------------------------------
[2013-03-06 21:54:10] dharkness at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.sprintf#refsect1-function.sprintf-
parameters
---
The format character "%u" is not in the correct place in the list. The rest of
the characters are sorted alphabetically. If it's in a different location because
it closely relates to "%d", it should go directly under "%d" and *not* between
"%E" and "%f" which is where it is now.
For bonus points have the table sorted alphabetically as it is (fix "%u") and add
a separate table that groups them by how the type is treated (int, float,
string). This second table wouldn't need to duplicate all of the descriptions; it
would be used to find all the int-related codes.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64371&edit=1