Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109773 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 51743 invoked from network); 22 Apr 2020 15:07:05 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Apr 2020 15:07:05 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7C6291804B4 for ; Wed, 22 Apr 2020 06:38:47 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com [209.85.222.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 22 Apr 2020 06:38:47 -0700 (PDT) Received: by mail-ua1-f50.google.com with SMTP id c24so1592176uap.13 for ; Wed, 22 Apr 2020 06:38:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HEUDSnGE3DEDiYdHCaoH1dFEP7xjZLc3tmPKFMJD3RU=; b=TxBRGNet+p4/amD4qtorVS0Fz2F4PbOprkSjrSA6z0aCWrH7+riuuzBESyvx5lPr+h OR0G77RW2dyiG2g9ef2JWbfEJGRyvXl85cTqbV4LyaeEr3O2gSJ239lE//NibCU4/kAx 8/0ju3Fw86H1rohJYD9elzEqa1gp9ScezAXjhdoOaUGF6umN6jbv6fjbk7wXhe0h9Vl/ o5AOvW4/QAkH/jOBAtfwKRJ+uDkokPOmzovuYMGW/gsZodmYY2OAF9njFXGVQFdeB5zS qMlOVboNaC3lteo9budQ0ZWiOCOJeoGaXIiu+z1fck0CAa1shwTrYYv0mVwNxErjGUn8 dwvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HEUDSnGE3DEDiYdHCaoH1dFEP7xjZLc3tmPKFMJD3RU=; b=Itx+wHw8DQ7Cj7V2lqTRH0ABKtFIgz+QPNR3odXn6rTB1n30DCDVhoiQmdjsPPPQmW ctNH+u3FEy/72sKrQjhk0bJyyi+4jVhKmqSZ0R/1vKzXc+1wBmX8uLK0hOanqE7TgfkT RUlo520mW0zSMK+IwAlcSkiZxKGfzBUAgt51mCz64rvOQSpraVEcBFNLq6oABG6BGJaj oWHSXN6ejHyorjgFAzyGNft9JdL3Ap+FGoesVYbJb0QahQLHhrL/r6VEwskDe/1xXB2Z v20TIyqo6ibYSfr/oUE1FsFoMi4IAA+mCU3D0MpHI7wRG3RrBsub14zJgrcA2cQQtKk3 6TCw== X-Gm-Message-State: AGi0Pub5U6ZARqSx+3PweqWZY3IjDE8ZCVO0k/Sgg0hEMvZ+6FP+xJ0b ZqjGlfS3Zxh/gkl5ol2ZecZJVmTM/beCPvULRd4= X-Google-Smtp-Source: APiQypKyUTEUtN865NasVfFqFBeaI6kNcmBDQIsYSySxiBmChdKEfol1XxUNZGZyJROV68N9ctRlx2RwFrQE7MyB0JI= X-Received: by 2002:a67:f10d:: with SMTP id n13mr20505444vsk.59.1587562725662; Wed, 22 Apr 2020 06:38:45 -0700 (PDT) MIME-Version: 1.0 References: <5e977484.1c69fb81.cbabb.03c6SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: Date: Wed, 22 Apr 2020 15:38:34 +0200 Message-ID: To: Guilliam Xavier Cc: "G. P. B." , PHP Internals List Content-Type: multipart/alternative; boundary="00000000000052824305a3e14085" Subject: Re: [PHP-DEV] Re: [RFC] [DISCUSSION] Locale-independent float to string cast From: kocsismate90@gmail.com (=?UTF-8?B?TcOhdMOpIEtvY3Npcw==?=) --00000000000052824305a3e14085 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Guilliam, Thank you for the reminder, we certainly forgot to resolve that issue. After a quick investigation, it turned out that the %e and %E specifiers are already locale-insensitive, so we can leave them as-is. Furthermore, the definition of the %G specifier according to the documentation is "Like the g specifier but uses E and F", which is not true, since %G is always a locale-dependent format, while %F is not. That's why we think the way forward is to: - fix the documentation independently of this RFC - expose the %h and %H format specifiers which are "like the %g and %G specifiers, but really use %e/%E and %f/%F respectively". Nikita is currently working on adding support for these, so it's also not a dependency of the RFC. That's why the vote is still scheduled for tomorrow. Thanks, M=C3=A1t=C3=A9 (P.S: I've just seen that Nikita already wrote a similar answer) --00000000000052824305a3e14085--