Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19078 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20651 invoked by uid 1010); 19 Sep 2005 16:03:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20636 invoked from network); 19 Sep 2005 16:03:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Sep 2005 16:03:07 -0000 X-Host-Fingerprint: 66.249.82.202 xproxy.gmail.com Received: from ([66.249.82.202:55047] helo=xproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 88/EE-43379-A31EE234 for ; Mon, 19 Sep 2005 12:03:07 -0400 Received: by xproxy.gmail.com with SMTP id h33so399076wxd for ; Mon, 19 Sep 2005 09:03:03 -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=QCyXWLESrlvVgdelrt735XMQnDQBTjpjIzbvdcSKUxQe6RJvvtAOmnKBXDMSjmG5PdgF4gSDUt38B/VHH5SUOYhj+MQirQc8f6Fv9EwEFvdXoalYLfvkZzT7pQm4ZQ0RbTNycDArYK1N2GsoPvgbeL0Sf1RZGZWUR3ChgS7vA34= Received: by 10.54.1.56 with SMTP id 56mr11035wra; Mon, 19 Sep 2005 09:03:03 -0700 (PDT) Received: by 10.54.20.42 with HTTP; Mon, 19 Sep 2005 09:03:03 -0700 (PDT) Message-ID: <28139bc05091909035260e6a6@mail.gmail.com> Date: Tue, 20 Sep 2005 00:03:03 +0800 Reply-To: Xuefer To: jason.sweat@gmail.com Cc: internals@lists.php.net In-Reply-To: <5c287472050919081831930aea@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> Subject: Re: [PHP-DEV] unable to create class from constant From: xuefer@gmail.com (Xuefer) can u tell me why php -r 'function myfunc(){} define("X", "myfunc"); X(); ' Fatal error: Call to undefined function: x() in Command line code on line = 1 but not calling myfunc? wrong list. :)