Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24443 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90824 invoked by uid 1010); 17 Jul 2006 22:13:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90792 invoked from network); 17 Jul 2006 22:13:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2006 22:13:59 -0000 Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; domainkeys=good DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.162.199 nz-out-0102.google.com Linux 2.4/2.6 Received: from ([64.233.162.199:35907] helo=nz-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id EA/E8-11992-2420CB44 for ; Mon, 17 Jul 2006 17:33:55 -0400 Received: by nz-out-0102.google.com with SMTP id s18so524538nze for ; Mon, 17 Jul 2006 14:33:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:from:subject:date:to:x-mailer:sender; b=ZPwU6f3bDpwhYX6jzoUY+L13lmIkDDiAw1Z9lxJ1H4tgFYkz/LdSGIo+/l+StvjtNTiImNJA51uYPu6UFmvxD6qxQkb7QrLoWVsmrCdwq13YqTVuzviAWHmANpUchBZk4U8fvn2/gi9K7ouSeCdCiWqmLNhE/NRdS6PodBnWvbk= Received: by 10.65.74.9 with SMTP id b9mr2125454qbl; Mon, 17 Jul 2006 14:33:51 -0700 (PDT) Received: from ?192.168.1.6? ( [72.59.8.142]) by mx.gmail.com with ESMTP id q15sm2989785qbq.2006.07.17.14.33.51; Mon, 17 Jul 2006 14:33:51 -0700 (PDT) In-Reply-To: <44BB607F.1090403@php.net> 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> <44BB607F.1090403@php.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/alternative; boundary=Apple-Mail-1-918654480 Message-ID: Cc: Lukas Smith , Marcus Boerger , internals@lists.php.net, zeev@zend.com, Andi Gutmans , Antony Dovgal Date: Mon, 17 Jul 2006 17:33:49 -0400 To: Michael Wallner X-Mailer: Apple Mail (2.752.2) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] Re: More valuable error message handling From: ilia@prohost.org (Ilia Alshanetsky) --Apple-Mail-1-918654480 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Looks good to me, although I'd prefer you returned an associated array rather then an object. On 17-Jul-06, at 6:03 AM, Michael Wallner wrote: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Ilia Alshanetsky --Apple-Mail-1-918654480--