Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8515 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5627 invoked by uid 1010); 14 Mar 2004 20:01:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5590 invoked from network); 14 Mar 2004 20:01:27 -0000 Received: from unknown (HELO smtprelay02.ispgateway.de) (62.67.200.157) by pb1.pair.com with SMTP; 14 Mar 2004 20:01:27 -0000 Received: (qmail 19731 invoked from network); 14 Mar 2004 20:01:26 -0000 Received: from unknown (HELO heinz-ruediger) (126482@[212.202.104.234]) (envelope-sender ) by smtprelay02.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 14 Mar 2004 20:01:26 -0000 To: Andi Gutmans , Jeffrey Moss , internals@lists.php.net Date: Sun, 14 Mar 2004 21:02:27 +0100 MIME-Version: 1.0 Message-ID: <4054C863.2293.1BA83C0@localhost> Priority: normal In-reply-to: <5.1.0.14.2.20040314193029.015f35e0@127.0.0.1> References: <001101c40569$edd10520$2c02a8c0@hans> X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: [PHP-DEV] getInstance and new self() From: fb@fbeyer.com ("Ferdinand Beyer") On 14 Mar 2004 at 19:31, Andi Gutmans wrote: > self:: is always evaluated at compile-time and refers to the class it is > defined in and not the concrete object/class. > > Andi I think it would be a better for self to refer to the concrete class. Otherwise it is not possible to access overridden static functions or to instantiate the concrete class. -- Ferdinand Beyer