On Tue, Aug 09, 2005 at 02:07:27PM -0400, George Schlossnagle wrote:
> 
> if(class_exists('MyFoo') && $obj instanceof MyFoo) { }

Unfortunately, class_exists() still calls __autoload().  Un-deprecating 
is_a() seems to be an easy way to resolve this situation.

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409

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

Reply via email to