Re: PR 186: external protocols and locale independent string conversion

From: Date: Wed, 19 Sep 2012 18:46:28 +0000
Subject: Re: PR 186: external protocols and locale independent string conversion
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-63174@lists.php.net to get a copy of this message
Hi, Am 19.09.2012 um 20:35 schrieb Lars Strojny <lars@strojny.net>: [...] > This kind of fix is very likely needed in other places, where floats are converted using > convert_to_string(). I haven’t found time to try e.g. mysqlnd, but I suspect we’ll find similar > issues there. I don’t 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

« previous php.internals (#63174) next »