The problem is (as I understand it!) that the ZEND_DECLARE_CLASS case in 
do_bind_function_or_class retrieves the class entry for the user-defined
class and not the internal class, and that is why the message reflects
the user class.

I can't really see why this is the case, but then I haven't really delved
into how it all works :-/

--Wez.


On 09/23/02, "Andi Gutmans" <[EMAIL PROTECTED]> wrote:
> Can't you make sure that the filename of internal classes will be NULL and 
> then we can check for it and say it's an internal class?
> 
> Andi
> 
> At 03:59 PM 9/23/2002 +0100, Wez Furlong wrote:
> >Caveat Emptor: if someone tries to redeclare an internal/builtin class
> >such as Directory, the previous declaration will appear to be the
> >actual declaration in the script.  I'm not sure of the best way to
> >resolve this.



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

Reply via email to