Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7963 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28893 invoked by uid 1010); 18 Feb 2004 17:33:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28831 invoked from network); 18 Feb 2004 17:33:42 -0000 Received: from unknown (HELO rwcrmhc11.comcast.net) (204.127.198.35) by pb1.pair.com with SMTP; 18 Feb 2004 17:33:42 -0000 Received: from coogle.localdomain (pcp02905316pcs.roylok01.mi.comcast.net[68.62.1.1]) by comcast.net (rwcrmhc11) with SMTP id <20040218173341013007rcc4e>; Wed, 18 Feb 2004 17:33:42 +0000 To: Pierre-Alain Joye Cc: George Schlossnagle , PHP Internals In-Reply-To: <20040218183012.2ad1beb3@localhost.localdomain> References: <1077090830.30573.1.camel@coogle.localdomain> <20040218115421.434ac336@localhost.localdomain> <1077124444.30567.27.camel@coogle.localdomain> <1077124984.31528.1.camel@coogle.localdomain> <20040218183012.2ad1beb3@localhost.localdomain> Content-Type: text/plain Message-ID: <1077125615.31532.10.camel@coogle.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 18 Feb 2004 12:33:35 -0500 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Static weirdness.. From: john@coggeshall.org (John Coggeshall) On Wed, 2004-02-18 at 12:30, Pierre-Alain Joye wrote: > We are talking about the same thing. A notice (error sounds too > drastic here) should be raised if a static method is called from the > instanciated object. No. There is *no* reason why static methods should be called from an object context. Doing so is more than a notice -- its flat out wrong and defeats the entire purpose of having static in the first place... John -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- John Coggeshall http://www.coggeshall.org/ The PHP Developer's Handbook http://www.php-handbook.com/ -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-