slides/errorhandling/error-reporting.xml
Reporting Errors
8/29
Handle errors!
Displaying errors


  • • php.ini: error_reporting = E_ALL
  • • httpd.conf: php_value error_reporting 2047
  • • in script: error_reporting(E_ALL & ~E_NOTICE);

  • • E_ALL == 2047
  • • E_NOTICE == 8
  • • E_ALL & ~E_NOTICE == 2039





  • • http://www.php.net/manual/en/ref.errorfunc.php#errorfunc.constants