PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Francisco Nez   BEH Basic PHP Error Handler Class   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: BEH Basic PHP Error Handler Class
Handle PHP errors displaying them using templates
Author: By
Last change: Update PSR 1 & 12

Update PSR 1 & 12
Date: 2 years ago
Size: 460 bytes


Class file image Download

class Test
/** @noinspection PhpUnhandledExceptionInspection */
public function testMethod()

# TODO Test 1: Uncomment to get an Error Output
echo $foo;

# TODO Test 2: Uncomment to get an throw exception Output
        #throw new Exception('This is an Example of throw Exception');

        # TODO Test 3: Uncomment to get an shutdown Output
        #while (true) {