It seems a bit over-zealous to throw a fatal error when you're writing
code to avoid a fatal error.

If autoload fails, instanceof should simply return false.

--Wez.

On 6/16/05, Andi Gutmans <[EMAIL PROTECTED]> wrote:
> Because it's a generic way of fetching classes and there's no reason to
> change it.
> If there's a real problem then email me.
> 
> Andi
> 
> At 04:55 PM 6/16/2005 +0200, Michael Wallner wrote:
> >Hi Andi Gutmans, you wrote:
> >
> > > instanceof calls __autoload()
> >
> >Well, what for I wonder?
> >If the class is not defined, no object can be an instance of it...
> >
> >Regards,
> >--
> >Michael - < mike(@)php.net >
> 
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to