Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11592 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36670 invoked by uid 1010); 28 Jul 2004 13:32:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34741 invoked from network); 28 Jul 2004 13:32:01 -0000 Received: from unknown (HELO out2.smtp.messagingengine.com) (66.111.4.26) by pb1.pair.com with SMTP; 28 Jul 2004 13:32:01 -0000 Received: from server3.messagingengine.com (server3.internal [10.202.2.134]) by mail.messagingengine.com (Postfix) with ESMTP id 6415BC12C95 for ; Wed, 28 Jul 2004 09:32:00 -0400 (EDT) Received: by server3.messagingengine.com (Postfix, from userid 99) id 2D51717FB88; Wed, 28 Jul 2004 09:32:01 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.4 (F2.72; T1.001; A1.62; B3.01; Q3.01) To: internals@lists.php.net Date: Wed, 28 Jul 2004 06:32:01 -0700 X-Sasl-Enc: P2K3WQksGNzWfQ3AAq9vzQ 1091021521 Message-ID: <1091021521.30562.201240234@webmail.messagingengine.com> Subject: How to access the per-class constant from a member function? From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi All, memberfunc(); ?> With a error_reporting=2047 I get Notice: Use of undefined constant HELLO - assumed 'HELLO' in /rekha/php-5.0.0/test.php on line 5 Whey echo HELLO fails? With regards Kamesh Jayachandran