File: testerr.php

Recommend this page to a friend!
  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: 7 years ago
Size: 141 bytes
 

 

Contents

Class file image Download
<?php

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


//error
$o/0;

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


For more information send a message to info at phpclasses dot org.