Re: Re: More valuable error message handling

From: Date: Mon, 17 Jul 2006 21:56:23 +0000
Subject: Re: Re: More valuable error message handling
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-24441@lists.php.net to get a copy of this message
Agreed - it looks good, but should return an array instead of an object. Zeev At 00:33 18/07/2006, Ilia Alshanetsky wrote:
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>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>http://www.php.net/unsub.php
Ilia Alshanetsky


« previous php.internals (#24441) next »