Re: array_key_exists BC break

From: Date: Fri, 24 Oct 2008 17:07:23 +0000
Subject: Re: array_key_exists BC break
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-41370@lists.php.net to get a copy of this message
Hi!
In fact, all HASH_OF was removed in standard/array.c, and that's already is mentioned implicitly though, as "The functions next()/current/… don't take objects anymore as parameters. For accessing their properties using this way you have to cast the objects to arrays first."
... is a very "implicit" mention - unless you already know it, there's no chance you get it from there. We need explicit list of affected functions, otherwise people would be very surprised when their scripts break in 5.3 -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#41370) next »