Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33954 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63503 invoked by uid 1010); 12 Dec 2007 00:38:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63487 invoked from network); 12 Dec 2007 00:38:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2007 00:38:51 -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:61928] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/44-38526-99D2F574 for ; Tue, 11 Dec 2007 19:38:50 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 12 Dec 2007 02:38:47 +0200 Received: from [192.168.16.91] ([192.168.16.91]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 11 Dec 2007 16:38:44 -0800 Message-ID: <475F2D94.2090704@zend.com> Date: Tue, 11 Dec 2007 16:38:44 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: =?ISO-8859-1?Q?David_Z=FClke?= CC: internals@lists.php.net References: <11970653983080000@9866357972520000.9866341568840000> <475BDDF1.7040605@ctindustries.net> <1723341090.20071210220025@marcus-boerger.de> <1197323296.3922.5.camel@sbarrow-desktop> <00A2E2156BEE8446A81C8881AE117F199A0715@companyweb> <475ED038.3080004@zend.com> <7F9E1E02-FF89-474B-9E94-007747B3637A@bitxtender.com> <475EF175.2030304@zend.com> <475F01B1.8090407@zend.com> <475F1152.3000400@zend.com> <124EB426-4EFC-4205-8254-E949ABA4A14B@bitxtender.com> <475F1C2F.8040802@zend.com> <7B1F2979-6623-44A1-9EFF-3D3A914C65E2@bitxtender.com> <475F2518.4050601@zend.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Dec 2007 00:38:44.0143 (UTC) FILETIME=[597FD3F0:01C83C57] Subject: Re: AW: [PHP-DEV] Namespace resolution From: stas@zend.com (Stanislav Malyshev) > Stas, please. It is preventing disk access in case the file to be loaded > is not from my namespace. If it is from my namespace, and I as an > autoloader was called, what am I gonna do? require() it of course, what > else? My point was that if you have ten autoloaders registered, and the If the class for which autoloaded request is issued *exists*. However, we are discussing the case where this class *does not exist*, so it can not be loaded. Thus, autoload request will be repeated on each access to such class. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com