On Tue, 09 Aug 2005 12:29:45 -0700
Andi Gutmans <[EMAIL PROTECTED]> wrote:

> we'd have to first "try" and load the class to make 
> sure we can actually check the instanceof

Pardon me? :)

As I said in my 2nd post about this topic, the problem (and only
problem here) is that in the lexer, the right part of instanceof is
class_reference_name (from memory for the exact name :), which
corresponds to the normal class fetch, as in "new MyClass".

This is the wrong part of instanceof. Its implementation does not
try to load a class or to raise any single notice/error/warning.


--Pierre

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

Reply via email to