PHP Classes

PHP Error Exception Handling class: Handle errors and exceptions thrown by PHP scripts

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 713 All time: 4,632 This week: 571Up
Version License PHP version Categories
my-error-exception 1Freeware5PHP 5, Debug
Description 

Author

This class can handle errors and exceptions thrown by PHP scripts.

It registers callback functions to handle errors and exceptions causes by PHP code.

The class output details of the errors like the error messages, type of errors, error source file and line number, date and time, PHP version, operating system, etc..

Picture of Pierre DULOY
Name: Pierre DULOY <contact>
Classes: 1 package by
Country: France France
Age: 41
All time rank: 280978 in France France
Week rank: 360 Up12 in France France Up

Example

<?php

include './myErrorException.php';
new
myErrorException();


//error
$o/0;

//exception
throw new Exception('Foooooooo');
?>


Screenshots  
  • cli_command
  Files folder image Files  
File Role Description
Plain text file myErrorException.php Class class to manage error and exception
Accessible without login Plain text file testerr.php Example sample file to call

 Version Control Unique User Downloads Download Rankings  
 0%
Total:713
This week:0
All time:4,632
This week:571Up