Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56616 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48296 invoked from network); 25 Nov 2011 08:55:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2011 08:55:01 -0000 Authentication-Results: pb1.pair.com header.from=sebastian@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sebastian@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 93.190.64.35 as permitted sender) X-PHP-List-Original-Sender: sebastian@php.net X-Host-Fingerprint: 93.190.64.35 mail-5.de-punkt.de Received: from [93.190.64.35] ([93.190.64.35:59375] helo=mail-5.de-punkt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/40-45850-3E75FCE4 for ; Fri, 25 Nov 2011 03:55:00 -0500 Received: (qmail 19325 invoked by uid 511); 25 Nov 2011 08:54:53 -0000 Received: by simscan 1.3.1 ppid: 19318, pid: 19323, t: 0.1142s scanners: attach: 1.4.0 Received: from unknown (HELO ?192.168.2.31?) (sb@sebastian-bergmann.de@93.214.157.209) by 0 with ESMTPA; 25 Nov 2011 08:54:53 -0000 Message-ID: <4ECF57EC.7020008@php.net> Date: Fri, 25 Nov 2011 09:55:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: internals@lists.php.net References: <4ECEC513.9040706@mohiva.com> <06acba1a1c53ac9527beb807787c92aa@mohiva.com> In-Reply-To: <06acba1a1c53ac9527beb807787c92aa@mohiva.com> X-Enigmail-Version: 1.3.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC] Autoloader Error Handling From: sebastian@php.net (Sebastian Bergmann) Am 25.11.2011 09:06, schrieb Christian Kaps: > Or am i wrong here? Yes you are. The idea is that you can have multiple autoload callbacks which are invoked in sequence. The first one that is able to load the requested class will end that sequence. If you throw exceptions in one autoloader that sequence will be interrupted prematurely. -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/