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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php