bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64223] Support newer PHP format strings


From: Bruno Haible
Subject: [bug #64223] Support newer PHP format strings
Date: Fri, 19 May 2023 18:36:30 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64223>

                 Summary: Support newer PHP format strings
                   Group: GNU gettext
               Submitter: haible
               Submitted: Sat 20 May 2023 12:36:29 AM CEST
                Category: PHP
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 20 May 2023 12:36:29 AM CEST By: Bruno Haible <haible>
According to https://www.php.net/manual/en/function.sprintf.php, PHP format
strings now support more format directives:

E       Like the e specifier but uses uppercase letter (e.g. 1.2E+2).
F       The argument is treated as a float and presented as a floating-point 
number
(non-locale aware).
g       General format.
G       Like the g specifier but uses E and f.
h       Like the g specifier but uses F. Available as of PHP 8.0.0.
H       Like the g specifier but uses E and F. Available as of PHP 8.0.0.

GNU gettext should support them as well.

Reported by José Luis Jiménez Fernández <jjimenez@interhost.com> in
https://lists.gnu.org/archive/html/bug-gettext/2023-05/msg00037.html







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64223>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]