Question: what is error reporting in php?
Answer: The error_reporting() function specifies which errors are reported. PHP has many levels of errors, and using this function sets that level for the current script.