Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33366 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73558 invoked by uid 1010); 21 Nov 2007 06:23:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 73542 invoked from network); 21 Nov 2007 06:23:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Nov 2007 06:23:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=felho@avalon.aut.bme.hu; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=felho@avalon.aut.bme.hu; sender-id=unknown Received-SPF: error (pb1.pair.com: domain avalon.aut.bme.hu from 84.2.42.7 cause and error) X-PHP-List-Original-Sender: felho@avalon.aut.bme.hu X-Host-Fingerprint: 84.2.42.7 mail02d.mail.t-online.hu Received: from [84.2.42.7] ([84.2.42.7:60585] helo=mail02d.mail.t-online.hu) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/8B-22278-BDEC3474 for ; Wed, 21 Nov 2007 01:23:26 -0500 Received: from gergely-hodicskas-computer.local (dsl51B68E90.pool.t-online.hu [81.182.142.144]) by mail02d.mail.t-online.hu (Postfix) with ESMTP id 2F088B8F9 for ; Wed, 21 Nov 2007 07:23:21 +0100 (CET) Message-ID: <4743CED7.5050402@avalon.aut.bme.hu> Date: Wed, 21 Nov 2007 07:23:19 +0100 User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: PHP Developers Mailing List References: <4740C654.3020302@digitalsandwich.com> <474154E0.4070302@zend.com> <47417C65.8010708@iamjochem.com> <474130B3.9070303@digitalsandwich.com> <4741DC81.6000506@zend.com> <4741D574.2020800@digitalsandwich.com> <474247A2.5050301@zend.com> <4741D9D1.6030106@digitalsandwich.com> <47424B4F.2@zend.com> In-Reply-To: <47424B4F.2@zend.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] late static binding php6 From: felho@avalon.aut.bme.hu (Gergely Hodicska) Hi! > What do you want parent::test() to mean? > Because it wasn't. parent::test() means A::test(). 'parent::' means > 'parent class of the class where this statement is' in PHP. For B, it's A. When you use parent in your code you generally want to add some plus functionality to the parent class. But in this case if you use the parent the behavior of the parent class changes too. Best Regards, Felhő