Re: PHP 5.3.8 Released!

From: Date: Fri, 02 Sep 2011 11:33:03 +0000
Subject: Re: PHP 5.3.8 Released!
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-55082@lists.php.net to get a copy of this message
Hi, On Fri, Sep 2, 2011 at 13:26, Jonathan Bond-Caron <jbondc@openmv.com> wrote: > 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? > We already discussed that *in length* the past couple of weeks, the patch was in fact intentional and we decided not to revert it. Best, > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Etienne Kneuss http://www.colder.ch

« previous php.internals (#55082) next »