While I am stil wondering why we could not stop this kind of mess before the release, we should also revert the default for 5.3. There's no point making the behavior different between releases.
Moriyoshi On Fri, May 15, 2009 at 5:10 AM, Andrei Zmievski <and...@gravitonic.com> wrote: > 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 > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php