Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7946 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28009 invoked by uid 1010); 18 Feb 2004 07:53:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27985 invoked from network); 18 Feb 2004 07:53:56 -0000 Received: from unknown (HELO rwcrmhc11.comcast.net) (204.127.198.35) by pb1.pair.com with SMTP; 18 Feb 2004 07:53:56 -0000 Received: from coogle.localdomain (pcp02905316pcs.roylok01.mi.comcast.net[68.62.1.1]) by comcast.net (rwcrmhc11) with SMTP id <20040218075355013007pllme>; Wed, 18 Feb 2004 07:53:55 +0000 To: PHP Internals Content-Type: text/plain Message-ID: <1077090830.30573.1.camel@coogle.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 18 Feb 2004 02:53:50 -0500 Content-Transfer-Encoding: 7bit Subject: Static weirdness.. From: john@coggeshall.org (John Coggeshall) http://bugs.php.net/bug.php?id=27304 Marcus says he's brought this up before, and i think it really needs to be addressed before PHP 5 so I'm bringing it up again. I am told that currently we are allowing static methods to be called from an object context because of a performance hit if we check every call, but currently because $this is undefined regardless of context there is no way even for the developer to check if the method was called properly. John -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- John Coggeshall http://www.coggeshall.org/ The PHP Developer's Handbook http://www.php-handbook.com/ -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-