Hi,

On Fri, Sep 2, 2011 at 13:26, Jonathan Bond-Caron <jbo...@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

Reply via email to