Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109668 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 63176 invoked from network); 15 Apr 2020 21:49:50 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Apr 2020 21:49:50 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C93761804C4 for ; Wed, 15 Apr 2020 13:19:49 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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, 15 Apr 2020 13:19:49 -0700 (PDT) Received: by mail-ed1-f45.google.com with SMTP id s10so6672048edy.9 for ; Wed, 15 Apr 2020 13:19:49 -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=ywaryDUlDFN5rU/0UtUtWm3O2O9l/f2zod1BqIYHRKg=; b=C2wqFpquWJXGZHgM8kp7QbC7N/+BdfMWfKSb884UWg+I1Px5TJh5oUb21MP/aHdq99 WnGWT1N+Aho4AcN3EZbL1sikCobu5HrynYLUOx9m/LuWc/QFBdzdJ+oPlXhog/yWlDul 1hazh80Vxaw6wEYI2glXSbgra4bX4/SSW3HXI+k7bFMk/OZ/v6ykdK/hqGbRVbD1t8aj 0tuEYgaq5592FTFMF0iO3Fx90g855UlwtNrvzr7Tk1iayOlEdew5aipx+VowjR/D8oCD GoqbCRTk8TX63tM23/y5joIlJR2y7rj0AAmXRYdJX/1OednMWi5ssidkh4j/kmcJqZtY dKYA== 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=ywaryDUlDFN5rU/0UtUtWm3O2O9l/f2zod1BqIYHRKg=; b=UeZFUbgBl7yqvgU0idmrEt7pdOSvvPAgKe44lLcSRqXGmWlGE5kfKZkS1p7IcmE2gl OXwnzvZCiOPJlEPQcgsiTi9ZM+L1moAEXaQmbSn+9kBAPbS3ffDH73CiVsZLIR5deNqT 3omcedapXIKZQ7iEKonIoisErLSbegJFOLCODkkrl8Sl7JGVQENJ473kmQzIi3QXZAy8 l9+lVDZPgPA1157slARxOj1fC7st0OfYi8VlyAoZPsC4eYBcB/Bo2//9sIcgkYjcpI2m X0/00Ztbs+3AbzIPHH2+rmrgyUpo4Ss/5V8Ux4wdve7jqS46SMif6SXtBAOxZNsv6tJy VFWw== X-Gm-Message-State: AGi0Pub3Jt3tMfk6yhY7qA/bHUcytmuwDiukt/0g9OV4DQP6IP87LZZh U66DksPRMeFTiQNu/+AkvFfHcujeWw3RLuoZTgE= X-Google-Smtp-Source: APiQypJNfNGeMXlGCoSMt4dJ5taIJnLNDA2jMrAi94AF4ioMIi9DxVZR3F2NOh5bEwkB3leZWkknyZ05r/Ufm0hv/iw= X-Received: by 2002:a17:906:81d7:: with SMTP id e23mr6136374ejx.309.1586981984198; Wed, 15 Apr 2020 13:19:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 15 Apr 2020 22:19:32 +0200 Message-ID: To: =?UTF-8?B?TcOhdMOpIEtvY3Npcw==?= Cc: Lynn , PHP Internals List Content-Type: multipart/alternative; boundary="0000000000006ee27705a35a0902" Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] Locale-independent float to string cast From: george.banyard@gmail.com ("G. P. B.") --0000000000006ee27705a35a0902 Content-Type: text/plain; charset="UTF-8" Hello all, We've updated the implementation [1] and RFC [2] to provide a temporary INI setting which will emit a warning every time a locale-aware float to string conversation would have been done in PHP 7. It's current name debug_local_sensitive_float_casts is also up to debate and will be voted on a secondary vote. How long this INI setting should remain in PHP is also up to discussion. One remaining question is if we should change the %e and %E formats for the printf family of functions to be locale independent or not and/or if we should expose the %H format which is similar to %G but with %E being locale independent. Moreover, we would like to open voting next week, so your input on this is very much appreciated so that we can amend this before going to voting. Best regards George P. Banyard [1] https://github.com/php/php-src/pull/5224 [2] https://wiki.php.net/rfc/locale_independent_float_to_string --0000000000006ee27705a35a0902--