Re: Re: RC1, instanceof?

From: Date: Tue, 09 Aug 2005 19:36:15 +0000
Subject: Re: Re: RC1, instanceof?
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-17724@lists.php.net to get a copy of this message
On Tue, 09 Aug 2005 12:29:45 -0700 Andi Gutmans <andi@zend.com> 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

« previous php.internals (#17724) next »