Re: [PHP-DEV] snprintf/var_export issues

2007-06-19 Thread Derick Rethans
On Fri, 15 Jun 2007, Derick Rethans wrote: > 2. Add a new modifier "H" or "L" that is like G, but >locale-insensitive. I implemented this as the "H" modifier. > Notes: > > - _build_trace_args (from Zend/zend_exceptions.c) seems also to be > affected, as it uses the G modifier to build a

[PHP-DEV] snprintf/var_export issues

2007-06-15 Thread Derick Rethans
Hello, While testing a bit of code under a different locale (de_DE) we found that var_export() uses a , for representing floating point decimal separators. As var_export() is supposed to generate "valid PHP code" there is now a bug in this function. While looking into this, I found that intern