Re: unable to create class from constant

From: Date: Mon, 19 Sep 2005 16:58:31 +0000
Subject: Re: unable to create class from constant
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-19080@lists.php.net to get a copy of this message
On 9/19/05, Xuefer <xuefer@gmail.com> wrote: > wrong list. :) My question was not "how do I work around this?". I included that in my original post. My question was "why is it like this?" which I thought was more germane to the internals list. An unquoted string would have to first be thought of as the class name, but if that does not exist, php is not then checking to see if it is actually a defined constant. My questions was basically is this a performance issue or just an undesired behavior for some other reason? Regards, Jason http://blog.casey-sweat.us/

« previous php.internals (#19080) next »