php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77529 %G modifier is possibly incorrect
Submitted: 2019-01-27 16:49 UTC Modified: 2019-02-12 16:07 UTC
From: girgias@php.net Assigned: cmb (profile)
Status: Closed Package: Strings related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: girgias@php.net
New email:
PHP Version: OS:

 

 [2019-01-27 16:49 UTC] girgias@php.net
Description:
------------
---
From manual page: https://php.net/function.sprintf
---

Shouldn't:
"G - shorter of %E and %f."
be
"G - shorter of %E and %F." as per http://www.cplusplus.com/reference/cstdio/printf/ ?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-12 15:40 UTC] girgias@php.net
-Assigned To: +Assigned To: cmb
 [2019-02-12 15:40 UTC] girgias@php.net
cmb can you verify this bug (or redirect to the capable person).

Also wrote the tiny patch needed to fix it.
http://edit.php.net/?patchID=3290&project=PHP
 [2019-02-12 16:05 UTC] cmb@php.net
-Status: Assigned +Status: Verified -Package: Documentation problem +Package: Strings related
 [2019-02-12 16:05 UTC] cmb@php.net
There is still the related bug #77451, but your patch is
definitely a correction.
 [2019-02-12 16:05 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=346810
Log: Fix #77529: %G modifier is possibly incorrect

Patch provided by girgias.
 [2019-02-12 16:07 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2019-02-12 16:07 UTC] cmb@php.net
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.
 [2019-02-18 16:41 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=489957f299b1fb95b59a0bbdf5d38f3ca2810eb0
Log: Fix #77529: %G modifier is possibly incorrect
 [2019-02-19 20:22 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=b91964cf18966901a2a6fa95b445c8b874624f29
Log: Fix #77529: %G modifier is possibly incorrect
 [2020-02-07 06:05 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=448a9cab142bb6fe2f32ab0cdb0669fcca454f35
Log: Fix #77529: %G modifier is possibly incorrect
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 22:01:29 2024 UTC