Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34278 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26177 invoked by uid 1010); 30 Dec 2007 09:53:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26162 invoked from network); 30 Dec 2007 09:53:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Dec 2007 09:53:12 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:12577] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9A/45-01652-78A67774 for ; Sun, 30 Dec 2007 04:53:12 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 30 Dec 2007 11:53:07 +0200 Received: from [192.168.17.12] ([192.168.17.12]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 30 Dec 2007 01:53:04 -0800 Message-ID: <47776A7E.3030304@zend.com> Date: Sun, 30 Dec 2007 01:53:02 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: phpxcache CC: php-dev List References: <28139bc0712300135s399eb826k87a061a52eac5066@mail.gmail.com> In-Reply-To: <28139bc0712300135s399eb826k87a061a52eac5066@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Dec 2007 09:53:04.0115 (UTC) FILETIME=[C56C4C30:01C84AC9] Subject: Re: [PHP-DEV] early class binding revisited From: stas@zend.com (Stanislav Malyshev) > 5.3 namespace code will check for CG(class_table) and see if a class > is internal class to generate different code. Compiler shouldn't generate different code. Unqualified name is resolved at runtime, but code should be the same whatever resolution was made. Did you check that different code is indeed generated? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com