Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32616 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25150 invoked by uid 1010); 3 Oct 2007 20:54:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 25135 invoked from network); 3 Oct 2007 20:54:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Oct 2007 20:54:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 83.243.58.163 as permitted sender) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 83.243.58.163 mail4.netbeat.de Received: from [83.243.58.163] ([83.243.58.163:50721] helo=mail4.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/10-23822-C9104074 for ; Wed, 03 Oct 2007 16:54:53 -0400 Received: (qmail 13895 invoked by uid 507); 3 Oct 2007 20:54:46 -0000 Received: from unknown (HELO ?192.168.1.102?) (postmaster%schlueters.de@82.135.94.254) by mail4.netbeat.de with ESMTPA; 3 Oct 2007 20:54:46 -0000 To: Greg Beaver Cc: Marcus Boerger , internals Mailing List In-Reply-To: <4703FB41.2040306@chiaraquartet.net> References: <4701D607.7010405@chiaraquartet.net> <1411108822.20071002112931@marcus-boerger.de> <47029B22.4010205@chiaraquartet.net> <1449632176.20071003165209@marcus-boerger.de> <4703F68D.6090809@chiaraquartet.net> <1191443002.21871.17.camel@johannes.nop> <4703FB41.2040306@chiaraquartet.net> Content-Type: text/plain Date: Wed, 03 Oct 2007 22:54:45 +0200 Message-ID: <1191444885.21871.45.camel@johannes.nop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] link to exceptions in autoload thread? From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Wed, 2007-10-03 at 15:27 -0500, Greg Beaver wrote: > I do that now, but it is a severe performance hog as well as being > fugly. Also, if you use spl_autoload_register, the frame is $bt[2]. In > other words, it's possible, but still an ugly, unnecessary hack with > lots of potential pitfalls caused by the inability to customize an error > message when a class doesn't exist. Well, the real performance issue there is searching through the file system - and I doubt performance is important for an error handler. If you need performance write proper code without errors which need handling. johannes