Hi,

thanks for bringing this up again. I digged even deeper into the whole issue of 
converting floats to strings and my current findings are that we can’t solve 
that consistently as things are already fubar’ed. The reason for that is, that 
in order to solve this issue we would need to make everything locale 
independent except output functions. Problem is: it’s a thin line. printf("%s", 
1.2) is locale aware, echo is as well. But then, should sprintf() be locale 
aware as well? What about the parameter parsing API (e.g. strpos(1.2, ".") will 
fail with de_DE as a locale). So: let’s ease the pain where possible, fix 
things that pop up step by step but I don’t see "the grand solution"[tm] for 
this problem.

Am 27.10.2012 um 16:33 schrieb Stas Malyshev <smalys...@sugarcrm.com>:
[...]
> I'd suggest talking directly to PGSQL maintainers... In general, the
> pull seems to be fine to me, but I'd rather have the people that
> understand something in PGSQL APIs look at it :)

I agree with this one. For me, the PR looks fine and it would ease some pain.

cu,
Lars
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to