Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38892 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18799 invoked from network); 10 Jul 2008 07:25:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2008 07:25:27 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.7 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.7 mail.jdi-ict.nl Linux 2.6 Received: from [82.94.239.7] ([82.94.239.7:55696] helo=mail.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A6/C5-24522-469B5784 for ; Thu, 10 Jul 2008 03:25:26 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id m6A7PJeL027906; Thu, 10 Jul 2008 09:25:19 +0200 Date: Thu, 10 Jul 2008 09:25:19 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: Gergely Hodicska cc: Daniel Convissor , "internals@lists.php.net" In-Reply-To: <487599FA.9000207@avalon.aut.bme.hu> Message-ID: References: <4875821E.9020504@avalon.aut.bme.hu> <20080710045418.GA22262@panix.com> <487599FA.9000207@avalon.aut.bme.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] strange autoload behavior From: derick@php.net (Derick Rethans) On Wed, 9 Jul 2008, Gergely Hodicska wrote: > This is a SKELETON (use case) to present the error! Do you think somebody > write to the internal list with a dummy error? YOu'd be surprised sometimes ;-) Anyway, exceptions thrown during autoload are ignored. Autoloading is the last resort for the engine to find a class. If the class can not be loaded (file isn't there, exception, autoloader doesn't load a file), then you get the fatal error. This is correct behavior. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org