This patch adds an extra parameter 'allow_string' to is_a (default off)
and is_subclass_of (default on) ,
https://bugs.php.net/patch-display.php?bug_id=55475&patch=Is_a_with_allow_string_argument_v3&revision=latest
<https://bugs.php.net/patch-display.php?bug_id=55475&patch=Is_a_with_allow_string_argument_v3&revision=latest>
It also explains why their behaviour is different. This is a clean, no
BC break, solution. let's move on and just fix this.
Regards
Alan
On Friday, September 23, 2011 06:43 AM, Rasmus Lerdorf wrote:
I don't see the harm in reverting back to the previous behaviour in the
5.3 tree. It's not like it will break code that has been fixed to work
with the new behaviour.
-Rasmus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php