Re: array_key_exists BC break

From: Date: Sun, 23 Nov 2008 11:26:19 +0000
Subject: Re: array_key_exists BC break
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-42021@lists.php.net to get a copy of this message
On Fri, 2008-11-21 at 12:15 -0800, Stanislav Malyshev wrote: > Attached is the patch that should restore BC for all those functions > except sorts and array_unique/array_flip (these should be trivial too > but I still thing their support for objects is just a bug). Please tell > if you are using those (ones not BCed) in any meaningful scenario on > objects. > > This is done by having 'a' and 'h' specifiers have sister ones > 'A' and > 'H' that would accept objects if those have working HASH_OF. I have > opted out for new letters and not sign since signs currently used for > generic modifiers (like "separate it") and object-array relation is not > generic. > Any comments? Only one comment: Could you please update README.PARAMETER_PARSING, too? Thanks! johannes

« previous php.internals (#42021) next »