Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56288 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41318 invoked from network); 11 Nov 2011 19:45:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Nov 2011 19:45:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.153 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.153 smtp153.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.153] ([67.192.241.153:42532] helo=smtp153.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/36-09898-14B7DBE4 for ; Fri, 11 Nov 2011 14:45:06 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp25.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 49A662D03F7; Fri, 11 Nov 2011 14:45:03 -0500 (EST) X-Virus-Scanned: OK Received: by smtp25.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 099972D03D5; Fri, 11 Nov 2011 14:45:02 -0500 (EST) Message-ID: <4EBD7B3E.6020708@sugarcrm.com> Date: Fri, 11 Nov 2011 11:45:02 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Jonathan Bond-Caron CC: 'PHP Internals' References: <4EBCAF14.4030100@sugarcrm.com> <00a401cca0a9$65e22b60$31a68220$@com> In-Reply-To: <00a401cca0a9$65e22b60$31a68220$@com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: SPLClassLoader RFC Thoughts And Improvements From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > That's unless the spl_autoload_register() api changes and allows to deal with errors - require(), Exception, ... Autoloader shouldn't produce external errors - because if it's unable to load class, others may be able. Also, it'd be quite hard to handle such errors - you'd have to guard each operation that does anything with classes. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227