error_reporting in PHP

Syntax of error_reporting in PHP int error_reporting([int level]) Sets the level of errors reported by PHP to level and returns the current level; if level is omitted, the current level of error reporting is returned. The following values are available for the function: E_ERROR Fatal runtime errors (script execution halts)E_WARNING Runtime warningsE_PARSE Compile-time parse errorsE_NOTICE … Read more