Hi!

I opened Bug #25246 some days ago. The bug was closed as "bogus" by Sniper.

I think that this issue (locale numeric settings) is not correctly addressed in the php core. And i would like to open a discussion about it, because i think is a very important one.

As stated in the bug report, this breaks backward compatibility with 4.2 and older releases. I think that an innapropiate patch broke this in the end of 2002.

The question is that databases returns float values with "," or "." based in its own locale (good locale behavior). I can't understand why php could not work with these settings as usual. Why the new "reset the locale setting" is better?

There is not a workaround solution for applications manipulating those values (maybe an database function returning floats always with ".").

Please, consider this as a genuine bug as this could make a lot of people outside the US, to stick with older versions of PHP.

Thanks.
David.

--
David Guerrero                                      E-mail: [EMAIL PROTECTED]
Dpto Tecnologias de la Informacion                    Telf: 91 384 16 13
B.O.E. (Boletin Oficial del Estado)         Ministerio de la Presidencia

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



Reply via email to