Announcement

Collapse
No announcement yet.

Error Reporting Options

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error Reporting Options

    Error Reporting Options :

    error_reporting(0); - Turn off error reporting

    error_reporting(E_ERROR | E_WARNING | E_PARSE); - Report simple errors

    error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); - Reporting E_Notice

    error_reporting(E_ALL ^ E_NOTICE); - Report all errors except E_NOTICE

    // Report all PHP errors
    error_reporting(E_ALL); - Report all PHP Errors

    ini_set('error_reporting', E_ALL); - Error Reporting.

    You can simply add and reply to this post with more common errors found and their solutions.
Working...
X