I've installed some debugging code on an application which gives periodic
errors. It records a shedload of variables, backtrace, and also grabs
error_get_last()

The wierd thing I'm seeing is that sometimes, the
error_get_last()<http://nz2.php.net/function.error_get_last>results
refer to an ob_end_flush() failure which has happened on a separate
virtualhost.

Is error_get_last() supposed to hand back the last error which happened
across all PHP processes on the server, rather than just - as I expected -
the last error for this request or thread?

---

Also - anyone know of a handy php lib that we can query to get regional
holidays in NZ (which would tell us, "next Monday is a public holiday" etc).

Maybe EventFinder have an API for this? ;)

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to