Testing Error Reporting


Warning: Undefined variable $var in /home/piziak/public_html/Chapter8/report_errors.php on line 19

Warning: foreach() argument must be of type array|object, null given in /home/piziak/public_html/Chapter8/report_errors.php on line 19

Fatal error: Uncaught DivisionByZeroError: Division by zero in /home/piziak/public_html/Chapter8/report_errors.php:20 Stack trace: #0 {main} thrown in /home/piziak/public_html/Chapter8/report_errors.php on line 20