RE: [PHP-DEV] PHP 5.3.8 Released!

From: Date: Fri, 02 Sep 2011 11:26:57 +0000
Subject: RE: [PHP-DEV] PHP 5.3.8 Released!
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-55081@lists.php.net to get a copy of this message
On Wed Aug 24 08:42 AM, Pierre Joye wrote: > Hi Alan, > > the breakage is about is_a with a string as 1st argument, not is_a as > a whole. So yes, it breaks is_a alone is used as validation. > I've been digging more into this: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_builtin_fun ctions.c?r1=307522&r2=312904&pathrev=312904 From what I understand, this patch is only place where is_a() all of sudden starts accepting a string. Btw the documentation has never been updated: http://php.net/manual/en/function.is-a.php It seems unintentional, the patch tries to fix a bug but introduces a new 'feature'. Should it be reverted?

« previous php.internals (#55081) next »