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

Reply via email to