Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7962 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22415 invoked by uid 1010); 18 Feb 2004 17:30:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22391 invoked from network); 18 Feb 2004 17:30:15 -0000 Received: from unknown (HELO smtp1.netcologne.de) (194.8.194.112) by pb1.pair.com with SMTP; 18 Feb 2004 17:30:15 -0000 Received: from localhost.localdomain (xdsl-213-196-192-45.netcologne.de [213.196.192.45]) by smtp1.netcologne.de (Postfix) with SMTP id 068A53893D; Wed, 18 Feb 2004 18:30:12 +0100 (MET) Date: Wed, 18 Feb 2004 18:30:12 +0100 To: John Coggeshall Cc: George Schlossnagle , PHP Internals Message-ID: <20040218183012.2ad1beb3@localhost.localdomain> In-Reply-To: <1077124984.31528.1.camel@coogle.localdomain> References: <1077090830.30573.1.camel@coogle.localdomain> <20040218115421.434ac336@localhost.localdomain> <1077124444.30567.27.camel@coogle.localdomain> <1077124984.31528.1.camel@coogle.localdomain> Organization: Freelancer X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Static weirdness.. From: paj@pearfr.org (Pierre-Alain Joye) On Wed, 18 Feb 2004 12:23:04 -0500 John Coggeshall wrote: > class foo { > static function bar() { > } > } > $a = new foo(); > $a->bar(); /* Unacceptable and contradictory to the concept of static > */ foo::bar(); /* Acceptable */ I have the same problem as George :) I did not understand well your original post. 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. pierre