Re: Re: cvs: php-src(PHP_5_2) / NEWS configure.in /main php_version.h
| From: | Andrei Zmievski | Date: | Thu, 14 May 2009 20:10:02 +0000 |
| Subject: | Re: Re: cvs: php-src(PHP_5_2) / NEWS configure.in /main php_version.h | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43959@lists.php.net to get a copy of this message | ||
Ilia Alshanetsky wrote:
Andrei, I think Moriyoshi has a point here there are several reports by people who are affected by this, I think it makes sense to leave the introduced functionality as is in 5.3/6, but for PHP 5.2 it probably should be rolled back.Fine. Our sorting/comparison is pretty screwed up anyway, if "400.00" is the same as "400". Maybe it makes sense for array_unique() to accept an optional flag at the end to specify the type of sorting. And we should add one that uses is_identical_function() to prevent crap like that. -Andrei