PHP Functionalism

Just another Digital Functionalism Site

PHP Error Reporting

To turn on Error Reporting in PHP, this is what I use. You can set this anywhere in your PHP code, but it has to be above the error or else it will not work. This is the easiest way and will work in most hosting environments:


or if you only want to see Warning Messages and not Notice Messages:


and if you just want all Error Reporting off, simply use this:


1 Comment

  1. Found this cool tool for setting error reporting in php:

Leave a Reply

Your email address will not be published.


© 2016 PHP Functionalism

Theme by Anders NorenUp ↑