Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63174 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16523 invoked from network); 19 Sep 2012 18:46:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Sep 2012 18:46:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain strojny.net from 46.4.40.248 cause and error) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 46.4.40.248 milch.schokokeks.org Received: from [46.4.40.248] ([46.4.40.248:45660] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/04-15057-8031A505 for ; Wed, 19 Sep 2012 14:46:33 -0400 Received: from lstrojnypro3.fritz.box (ppp-188-174-24-197.dynamic.mnet-online.de [::ffff:188.174.24.197]) (AUTH: PLAIN lars@schokokeks.org, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by milch.schokokeks.org with ESMTPSA; Wed, 19 Sep 2012 20:46:29 +0200 id 0000000000000023.00000000505A1305.00002A83 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) In-Reply-To: <177BEC05-2944-441A-98FE-7A456061C4EE@strojny.net> Date: Wed, 19 Sep 2012 20:46:28 +0200 Content-Transfer-Encoding: quoted-printable Message-ID: <79136631-A0BD-4662-9CFF-2397DB962835@strojny.net> References: <177BEC05-2944-441A-98FE-7A456061C4EE@strojny.net> To: "internals@lists.php.net PHP internals" X-Mailer: Apple Mail (2.1486) Subject: Re: [PHP-DEV] PR 186: external protocols and locale independent string conversion From: lars@strojny.net (Lars Strojny) Hi, Am 19.09.2012 um 20:35 schrieb Lars Strojny : [...] > This kind of fix is very likely needed in other places, where floats = are converted using convert_to_string(). I haven=92t found time to try = e.g. mysqlnd, but I suspect we=92ll find similar issues there. I don=92t = think the proposed workaround of burden users with explicitly converting = floats to a numeric representation is a good solution and I think we = should fix bugs like that in places they occur. [...] Quick follow-up, PDO::quote() and mysqli::real_escape_string() suffer = from the same issue. cu, Lars=