Zend - The PHP Company




Code Gallery: kevinkorb


Fatal Error Notifier  

Type: application
Added by: kevinkorb
Entered: 19/03/2006
Last modified: 08/12/2006
Rating: - (fewer than 3 votes)
Views: 3744
This runs as a cron job and notifies the administrator of all the php fatal errors that happened in the last specified time. This is a low-overhead solution to fatal error reporting.... some solutions suggested output buffering each page, running a regex, but that has huge overhead. Others say no production code should ever have fatal errors. However, in my business we maintain many different sites each low budget and testing may not always be efficent. Sometimes a change on one file affects our code in more than one place and we forget to look somewhere and fatal errors happen. This has saved our butt a few times.




Search