Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19080 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40853 invoked by uid 1010); 19 Sep 2005 16:58:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40838 invoked from network); 19 Sep 2005 16:58:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Sep 2005 16:58:40 -0000 X-Host-Fingerprint: 64.233.162.197 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.197:43920] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A5/A0-43379-E3EEE234 for ; Mon, 19 Sep 2005 12:58:38 -0400 Received: by zproxy.gmail.com with SMTP id z31so271463nzd for ; Mon, 19 Sep 2005 09:58:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NmvzTIgWtHS0TW2lvjp617gtYT4P2svEZMf5KtyCrXiX5lsPot4773fcHt3lRRrvTV/8MDQ1la7ImUUVuyRgASqjkhOaUs5TeoKI80IfCO0vD270P0KhVgEvyRs9CUqKWFbMwxTi4c3gy0/Us7BvK5pxHCGVEVOxoVKZkWsHQ2k= Received: by 10.36.55.2 with SMTP id d2mr2807386nza; Mon, 19 Sep 2005 09:58:34 -0700 (PDT) Received: by 10.36.147.14 with HTTP; Mon, 19 Sep 2005 09:58:31 -0700 (PDT) Message-ID: <5c287472050919095831a7d525@mail.gmail.com> Date: Mon, 19 Sep 2005 09:58:31 -0700 Reply-To: jason.sweat@gmail.com To: Xuefer Cc: internals@lists.php.net In-Reply-To: <28139bc05091909035260e6a6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5c287472050919081831930aea@mail.gmail.com> <28139bc05091909035260e6a6@mail.gmail.com> Subject: Re: [PHP-DEV] unable to create class from constant From: jason.sweat@gmail.com (Jason Sweat) On 9/19/05, Xuefer 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? =20 Regards, Jason http://blog.casey-sweat.us/