Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33446 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13823 invoked by uid 1010); 26 Nov 2007 18:58:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13787 invoked from network); 26 Nov 2007 18:58:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2007 18:58:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=m@digitalsandwich.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=m@digitalsandwich.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain digitalsandwich.com designates 66.240.211.100 as permitted sender) X-PHP-List-Original-Sender: m@digitalsandwich.com X-Host-Fingerprint: 66.240.211.100 c01.ds-o.com Linux 2.6 Received: from [66.240.211.100] ([66.240.211.100:42868] helo=c01.ds-o.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/F6-55421-C521B474 for ; Mon, 26 Nov 2007 13:37:17 -0500 Received: (qmail 18483 invoked by uid 89); 26 Nov 2007 18:37:12 -0000 Received: from unknown (HELO c01.ds-o.com) (127.0.0.1) by c01.ds-o.com with SMTP; 26 Nov 2007 18:37:12 -0000 Received: from 208.67.191.194 (SquirrelMail authenticated user m@digitalsandwich.com) by c01.ds-o.com with HTTP; Mon, 26 Nov 2007 13:37:12 -0500 (EST) Message-ID: <23605.208.67.191.194.1196102232.squirrel@c01.ds-o.com> In-Reply-To: <474B0CE7.8060003@zend.com> References: <4740C654.3020302@digitalsandwich.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> <4743CED7.5050402@avalon.aut.bme.hu> <4749F328.8080506@digitalsandwich.com> <45B2C652-820A-4820-82C5-A156DB5721DD@bitxtender.com> <474B0CE7.8060003@zend.com> Date: Mon, 26 Nov 2007 13:37:12 -0500 (EST) To: "Stanislav Malyshev" Cc: David =?iso-8859-1?Q?Z=FClke?= , "Alexey Zakhlestin" , "Mike Lively" , "PHP Developers Mailing List" User-Agent: SquirrelMail/1.4.8-1.3.3 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] [PATCH] late binding for parent (and other options) - Was Re: [PHP-DEV] late static binding php6 From: m@digitalsandwich.com >> - static always points to the original callee, w/o being "broken" by >> parent:: >> - get_called_class() should _not_ behave like shown above. It really was >> not B that got called, but it was A, trough parent:: >> - a new get_static_class() method should return "B". > > Ouch. So now not only we have parent:: and Class:: behave differently > (and I'm afraid to think of how call_user_func() should work) we also > have two separate functions for getting called class and only one of > them has non-functional notation. Yes, this is natural and intuitive. Not. I don't think we need this, like you mentioned we have __CLASS__, we also have get_class(). call_user_func() works fine in the patches...was a pita :P but it works fine. - Mike Lively