Error Hook for PHP. Provide error handling throw syslog or emails.