Login   Register  
PHP Classes
elePHPant
Icontem

PHP Error Handling: Log fatal and non-fatal PHP errors

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-06-21 (3 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 594 All time: 4,752 This week: 1,393Up
Version License PHP version Categories  
php-error-handling 3GNU General Public Lice...5PHP 5, Logging, Language
Description Author  

This class can log fatal and non-fatal PHP errors.

It registers functions to handle regular errors and a shutdown function to handle fatal errors.

The error handler functions send a message to PHP error log with all the details of the error like the the error source file name, error line number, error message, type of error, time and date of the error.

Optionally the class can also send the error log message by email.

Picture of Radovan Janjic
Name: Radovan Janjic is available for providing paid consulting. Contact Radovan Janjic .
Classes: 13 packages by
Country: Serbia Serbia
Age: 26
All time rank: 4304 in Serbia Serbia
Week rank: 54 Up1 in Serbia Serbia Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file ErrorHandler.class.php Class Class
Accessible without login Plain text file example.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%Total:594All time:4,752
 This week:0This week:1,393Up