Live is set to TRUE
As a result no errors are displayed.
An error occurred in script '/var/www/html/dukesnuz/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, /var/www/html/dukesnuz/d/phppercolate6/ch8/08_03_handle_errors.php, 45, Array ([_GET] => Array (),[_POST] => Array (),[_COOKIE] => Array (),[_FILES] => Array ())) called at [/var/www/html/dukesnuz/d/phppercolate6/ch8/08_03_handle_errors.php:45]
An error occurred in script '/var/www/html/dukesnuz/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(), /var/www/html/dukesnuz/d/phppercolate6/ch8/08_03_handle_errors.php, 45, Array ([_GET] => Array (),[_POST] => Array (),[_COOKIE] => Array (),[_FILES] => Array ())) called at [/var/www/html/dukesnuz/d/phppercolate6/ch8/08_03_handle_errors.php:45]
An error occurred in script '/var/www/html/dukesnuz/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, /var/www/html/dukesnuz/d/phppercolate6/ch8/08_03_handle_errors.php, 46, Array ([_GET] => Array (),[_POST] => Array (),[_COOKIE] => Array (),[_FILES] => Array ())) called at [/var/www/html/dukesnuz/d/phppercolate6/ch8/08_03_handle_errors.php:46]