Re: Re: More valuable error message handling
| From: | Ilia Alshanetsky | Date: | Mon, 17 Jul 2006 21:33:49 +0000 |
| Subject: | Re: Re: More valuable error message handling | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-24443@lists.php.net to get a copy of this message | ||
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:Ilia Alshanetskythats 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