Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33966 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52567 invoked by uid 1010); 12 Dec 2007 11:29:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52551 invoked from network); 12 Dec 2007 11:29:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2007 11:29:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=mp@webfactory.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mp@webfactory.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain webfactory.de from 195.227.108.51 cause and error) X-PHP-List-Original-Sender: mp@webfactory.de X-Host-Fingerprint: 195.227.108.51 wfserver02.wf-ppr.de Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from [195.227.108.51] ([195.227.108.51:49012] helo=wfserver02.wf-ppr.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/0C-38526-406CF574 for ; Wed, 12 Dec 2007 06:29:09 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Dec 2007 12:29:02 +0100 Message-ID: <00A2E2156BEE8446A81C8881AE117F199A0747@companyweb> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AW: [PHP-DEV] Namespace resolution Thread-Index: Acg8V2l5DeSmQhY+R3mm9j6e4HQ7CQAWWXAA To: "Stanislav Malyshev" , =?iso-8859-1?Q?David_Z=FClke?= Cc: Subject: AW: AW: [PHP-DEV] Namespace resolution From: mp@webfactory.de ("Matthias Pigulla") =20 > -----Urspr=FCngliche Nachricht----- > Von: Stanislav Malyshev [mailto:stas@zend.com]=20 > If the class for which autoloaded request is issued *exists*.=20 > However, we are discussing the case where this class *does=20 > not exist*, so it can not be loaded. Thus, autoload request=20 > will be repeated on each access to such class. Just a quick idea - what if requiring that autoloaders behave = deterministically, that is, once a certain autoloader implementation has = been given the possibility to find a class it will never be asked again = (because it wouldn't find it later on either). That might allow for caching the decision, so the next time you hit the = same unqualified name you know what is meant? Does that make sense? -mp.