Newsgroups: php.internals,php.internals Path: news.php.net Xref: news.php.net php.internals:24423 php.internals:24424 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94707 invoked by uid 1010); 17 Jul 2006 10:03:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94692 invoked from network); 17 Jul 2006 10:03:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2006 10:03:18 -0000 X-Host-Fingerprint: 80.123.98.46 unknown Received: from ([80.123.98.46:6403] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id BB/EE-11992-2606BB44 for ; Mon, 17 Jul 2006 06:03:15 -0400 To: internals@lists.php.net,Lukas Smith Message-ID: <44BB607F.1090403@php.net> Date: Mon, 17 Jul 2006 12:03:43 +0200 User-Agent: Thunderbird 1.5.0.4 (X11/20060615) MIME-Version: 1.0 CC: Marcus Boerger , internals@lists.php.net, zeev@zend.com, Andi Gutmans , Antony Dovgal References: <97.00.12962.7DE73B44@pb1.pair.com> <44B38343.9030403@zend.com> <44.90.38316.ED1C3B44@pb1.pair.com> <1074809844.20060711203909@marcus-boerger.de> <44B41558.1060101@php.net> In-Reply-To: <44B41558.1060101@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 80.123.98.46 Subject: Re: [PHP-DEV] Re: More valuable error message handling From: mike@php.net (Michael Wallner) Lukas Smith wrote: > thats why i said that i would like to atleast be able to get the last > error without having to mess/check track_errors ini setting. i think > this is an acceptable compromise to always store the last error, no? > > this covers 100% of all use cases i ever had where i would mess with > the track_errors setting at runtime. Here's a less impacting patch for an error_get_last() function: http://dev.iworks.at/PATCHES/error_get_last.diff.txt Can we agree on that? -- Michael