Re: array_key_exists BC break

From: Date: Thu, 06 Nov 2008 15:34:12 +0000
Subject: Re: array_key_exists BC break
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-41726@lists.php.net to get a copy of this message
So as suggested and wished, here is a patch that add a modifier '%' to 'a' in parameter parsing API, where it allows object that implements ArrayAccess to be accept. Although it doesn't invoke any their methods, i.e. just how it works nowdays.
I applied this to HEAD and ran a few minor (manual) tests on ArrayObject, and it worked as expected (as it does in 5.2). Thanks! S

« previous php.internals (#41726) next »