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




Reply via email to