Re: array_key_exists BC break

From: Date: Thu, 06 Nov 2008 22:50:49 +0000
Subject: Re: array_key_exists BC break
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  Groups: php.internals 
Request: Send a blank email to internals+get-41744@lists.php.net to get a copy of this message
Hi!
a) I showed the 5.2 behavior, using "proper" interfaces is a silent change which might break application and is probably hard to find. While I don't know how many people rely on these "features".
I think it'd be OK for functions using HASH_OF in 5.2 keep using that, and I'm not sure we should ask for any specific interface there. As for other ones, we need to see if it would make sense there (something like array_shift probably wouldn't make too much sense on generic object and won't work correctly with most Array* objects either). -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#41744) next »