Re: [PHP-DEV] is_a() - again - a better fix

2011-09-20 Thread Alan Knowles
Ferenc, yes I know you are generally -1 on reverting this. Currently this bug has 20 votes all at 'this seriously affects me' I know Pierre and I are +1 for reverting this change I think Zeev and Stas where -1 for reverting I've already seen bugs on random packages (outside PEAR) reporting pro

Re: [PHP-DEV] is_a() - again - a better fix

2011-09-20 Thread Ferenc Kovacs
On Tue, Sep 20, 2011 at 11:54 PM, Alan Knowles wrote: > Let's try and close this one. > > https://bugs.php.net/bug.php?id=55475 > > I've just added a patch that adds is_class_of(), which is identical to > is_subclass_of, and has the new feature of supporting strings and using the > autoloader. > >

[PHP-DEV] is_a() - again - a better fix

2011-09-20 Thread Alan Knowles
Let's try and close this one. https://bugs.php.net/bug.php?id=55475 I've just added a patch that adds is_class_of(), which is identical to is_subclass_of, and has the new feature of supporting strings and using the autoloader. It then reverts is_a() back to the previous behavior, and clarifi