Re: Accessing child constants from base class

From: Date: Sat, 11 Oct 2003 14:30:35 +0000
Subject: Re: Accessing child constants from base class
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-4801@lists.php.net to get a copy of this message
Hello Dan, Friday, October 10, 2003, 8:36:48 PM, you wrote: > On a side note, when an exception is thrown from inside the > __autoload() function, PHP only reports 'exception thrown in > __autoload' and no other information about the exception. Is > this a bug? I don't think so. The exception shows as much information as is available. Only sometimes the exception is generated deeply inside the engine where not many additional information can be accessed. And don't forget: Exceptions should be exceptions. > I understand. For some reason, I just thought that self:: and > parent:: were evaluated at runtime instead of compile time. Hope you get that straight now. parent & self must be considered beeing compiletime things. -- Best regards, Marcus mailto:helly@php.net

« previous php.internals (#4801) next »