Loading video...
Error Handling
- The php.ini directive error_reporting is used to globally set which levels of errors PHP will report. It is typically set using PHP's pre-defined error constants.
- The error_reporting() function overrides the global error reporting level for the script it is called from.
- Some common error-related directives in php.ini are:
- display_errors
- log_errors
- error_log
- track_errors
- The error control operator ( @ ) is used to suppress errors generated by expressions.
- If the track_errors directive is enabled, suppressed error messages will be stored as a string in the pre-defined $php_errormsg variable.
- Additional Resources:
Error Handling
Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

































Start Learning Now
Our free lessons will get you started (Flash® 10 required).
Sign up for Educator.comGet immediate access to our entire library.
Features Overview