Re: PHP 5.2.1RC2 Released
| From: | Rasmus Lerdorf | Date: | Thu, 11 Jan 2007 14:38:48 +0000 |
| Subject: | Re: PHP 5.2.1RC2 Released | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27356@lists.php.net to get a copy of this message | ||
Tom Sommer wrote:
> On Fri, January 5, 2007 01:13, Ilia Alshanetsky wrote:
>
>> With this release we are nearing the final stretch is the release
>> cycle, so I'd like to ask all developers to refrain from making any commits
>> to the 5.2 tree that are not bug fixes. If all goes well the final RC
>> (RC3) will be available in 2 weeks to be shortly followed by
>> the final release.
>
> Any word on bug #36008, is it fixed?
>
> It's pretty nasty for people running accounting and financially critical
> applications.
How is that a bug? Floating point values need to be sanitized before
you do any sort of calculation with them or you will be magnifying any
system-level imprecision. In that example he sanitized it by converting
it to a string which isn't magic, it is just another way to truncate the
imprecision. Any decent accounting/financial application should be
working in integers (as in cents) and should never run into these
issues. There is nothing we can do to fix this.
-Rasmus