PHP Classes

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

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 714 All time: 4,630 This week: 53Up
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

Example

<?php

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


//error
$o/0;

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


Screenshots (1)  
  • cli_command
  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:714
This week:0
All time:4,630
This week:53Up