Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11823 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32395 invoked by uid 1010); 2 Aug 2004 14:14:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 32371 invoked from network); 2 Aug 2004 14:14:31 -0000 Received: from unknown (HELO out2.smtp.messagingengine.com) (66.111.4.26) by pb1.pair.com with SMTP; 2 Aug 2004 14:14:31 -0000 Received: from server3.messagingengine.com (server3.internal [10.202.2.134]) by mail.messagingengine.com (Postfix) with ESMTP id 13FE7C13E01; Mon, 2 Aug 2004 10:14:30 -0400 (EDT) Received: by server3.messagingengine.com (Postfix, from userid 99) id DDDEB180A25; Mon, 2 Aug 2004 10:14:30 -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) Cc: "Mehdi Achour" , internals@lists.php.net References: <1091021521.30562.201240234@webmail.messagingengine.com> <4107D00C.4050505@php.net> <1091454382.4136.201524319@webmail.messagingengine.com> In-Reply-To: To: "Derick Rethans" Date: Mon, 02 Aug 2004 07:14:30 -0700 X-Sasl-Enc: ZVq5uCh3ruZPTpzreEWzaA 1091456070 Message-ID: <1091456070.11552.201526350@webmail.messagingengine.com> Subject: Re: [PHP-DEV] Re: How to access the per-class constant from a member function? From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi Derick, Thanks for the correction. With regards Kamesh Jayachandran On Mon, 2 Aug 2004 16:02:23 +0200 (CEST), "Derick Rethans" said: > On Mon, 2 Aug 2004, Kamesh Jayachandran wrote: > > > Hi Mehdi, > > Even Foo::HELLO works. > > My question is why simple HELLO inside a member function does not work. > > > > Why are we not able to access the static and const members of a class > > from inside a class member function like the way with other member > > variables.? > > Other member variables don't work either like this, you need to specify > $this-> always. > > Derick