Testing Error Handling

Live is set to TRUE

As a result no errors are displayed.

An error occurred in script '/home/loadedandrollin1/public_html/dukesnuz.com/d/phppercolate6/ch8/08_03_handle_errors.php' on line 45; Undefined variable: var
Array
(
    [_GET] => Array
        (
        )

    [_POST] => Array
        (
        )

    [_COOKIE] => Array
        (
        )

    [_FILES] => Array
        (
        )

)

#0  my_error_handler(8, Undefined variable: var, /home/loadedandrollin1/public_html/dukesnuz.com/d/phppercolate6/ch8/08_03_handle_errors.php, 45, Array ([_GET] => Array (),[_POST] => Array (),[_COOKIE] => Array (),[_FILES] => Array ())) called at [/home/loadedandrollin1/public_html/dukesnuz.com/d/phppercolate6/ch8/08_03_handle_errors.php:45]

An error occurred in script '/home/loadedandrollin1/public_html/dukesnuz.com/d/phppercolate6/ch8/08_03_handle_errors.php' on line 45; Invalid argument supplied for foreach()
Array
(
    [_GET] => Array
        (
        )

    [_POST] => Array
        (
        )

    [_COOKIE] => Array
        (
        )

    [_FILES] => Array
        (
        )

)

#0  my_error_handler(2, Invalid argument supplied for foreach(), /home/loadedandrollin1/public_html/dukesnuz.com/d/phppercolate6/ch8/08_03_handle_errors.php, 45, Array ([_GET] => Array (),[_POST] => Array (),[_COOKIE] => Array (),[_FILES] => Array ())) called at [/home/loadedandrollin1/public_html/dukesnuz.com/d/phppercolate6/ch8/08_03_handle_errors.php:45]

An error occurred in script '/home/loadedandrollin1/public_html/dukesnuz.com/d/phppercolate6/ch8/08_03_handle_errors.php' on line 46; Division by zero
Array
(
    [_GET] => Array
        (
        )

    [_POST] => Array
        (
        )

    [_COOKIE] => Array
        (
        )

    [_FILES] => Array
        (
        )

)

#0  my_error_handler(2, Division by zero, /home/loadedandrollin1/public_html/dukesnuz.com/d/phppercolate6/ch8/08_03_handle_errors.php, 46, Array ([_GET] => Array (),[_POST] => Array (),[_COOKIE] => Array (),[_FILES] => Array ())) called at [/home/loadedandrollin1/public_html/dukesnuz.com/d/phppercolate6/ch8/08_03_handle_errors.php:46]