Login   Register  
PHP Classes
elePHPant
Icontem

File: testerr.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Pierre DULOY  >  PHP Error Exception Handling class  >  testerr.php  >  Download  
File: testerr.php
Role: Example script
Content type: text/plain
Description: sample file to call
Class: PHP Error Exception Handling class
Handle errors and exceptions thrown by PHP scripts
Author: By
Last change:
Date: 1 year ago
Size: 141 bytes
 

Contents

Class file image Download
<?php

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


//error
$o/0;

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