I'm not a C++ or C programmer, however I have made an extension that
exposes a complimentary function to error_get_last, error_clear_last.
It's a super useful function, specially if you're trying to detect
things like "white pages"
It's a much needed function for people that write their own error reporters.
Considering the last error doesn't clear until the error reporter
returns true, so there could be cases where someone's custom error
reporter could be reporting the same error stored in $php_errormsg many
times.
regardless of your usage, users should have the ability to clear the
'last error' at their will.
ANYWAY where would I post something like this? I don't want to put up my
code because a.)I can't find it anymore and b.)it'd probably be
embarrassing to show my crap C!
-James
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php