Hello, I took a short look to the implementation.
instanceof_ex works as expected, no error display there. The problem comes from the usage of class_name_reference in the parser. class_name_reference calls zend_do_fetch_class, which raises this error as no class is loaded. Now I'm not sure about a clean solution, it's fine to raise a fatal error when class_name_reference is used with new, but in the case of instanceof, it does not make sense. add a class_name_reference_silent? :) --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php