Re: cvs: php-src /ext/standard array.c

From: Date: Wed, 18 Feb 2009 19:51:29 +0000
Subject: Re: cvs: php-src /ext/standard array.c
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-43097@lists.php.net to get a copy of this message
Moriyoshi Koizumi wrote:
As I said earlier, the function is never supposed to be used with objects. Therefore, we cannot declare it to be broken, and any change to the behavior anyway leads to a huge BC break. I got a report that claims the reporter's real-world application behaves strangely with the latest release candidate.
Should we have array_unique_for_non_strings() then or something?
That said, I'm not really against making SORT_REGULAR default for later versions than 5.2.x as long as *appropriate notices* are provided, while I strongly disagree for 5.2.x.
What sort of notices do you propose? At runtime or in the docs? -Andrei

« previous php.internals (#43097) next »