php :: programmatically catching script warnings
So...anyone know if it's possible to programmatically catch a warning from a php script so I can log it? Exceptions are easy... I can just wrap the code block in a try/catch block. But warnings don't actually interrupt the execution of the script so I'm not sure if they're catchable.
Thanks for any answers ahead of time.