Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40515 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56919 invoked from network); 15 Sep 2008 03:20:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Sep 2008 03:20:20 -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.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:32496] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/3C-11861-754DDC84 for ; Sun, 14 Sep 2008 23:19:53 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Sep 2008 06:21:06 +0300 Received: from [192.168.17.8] ([192.168.17.8]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 14 Sep 2008 20:21:02 -0700 Message-ID: <48CDD49E.9070808@zend.com> Date: Sun, 14 Sep 2008 20:21:02 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Gregory Beaver CC: internals@lists.php.net References: <48C59D5C.4050507@chiaraquartet.net> <48C5A909.4030502@zend.com> <48C602D5.6020704@chiaraquartet.net> <48C6A6AA.7050003@zend.com> <48C9F2F6.4080007@chiaraquartet.net> <48CAC1EF.2090501@zend.com> <48CB20BA.4070609@chiaraquartet.net> <48CC85D7.4010401@zend.com> <48CCA3B1.5060602@chiaraquartet.net> In-Reply-To: <48CCA3B1.5060602@chiaraquartet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Sep 2008 03:21:02.0668 (UTC) FILETIME=[14F350C0:01C916E2] Subject: Re: [PATCH] Re: [PHP-DEV] namespace examples (solving name resolutionorderissues) From: stas@zend.com (Stanislav Malyshev) Hi! > 1) check current namespace > 2) autoload if possible > 3) fail > > functions: > > 1) check current namespace > 2) check internal > 3) fail > > Load order would matter for functions, but the risk is worth the benefit. > > I believe the initial implementation of namespaces had this order for > classes, so Dmitry's first patch would have the necessary changes. That's exactly the mode that I described as second non-contradictory mode. I would like to know how many people here feel it is better than what we have now. I know many people right now may not be reading the list due to the Zend Conference so we'd have to wait some time to get a good feedback on that. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com