PHP Error – Error Reporting Done Right!

If you’re developing using a framework, then changes are that you’re already taking advantage of its built-in error reporting. However, for PHP development without a framework, the default error reporting can be extremely hard to interpret. PHP Error, a new open source library aims at improving the display of PHP errors for easier debugging.

By simply calling the library at the start of your file, you can benefit from better error messages and full syntax highlighted stack trace. You can also configure some options to help you give you a better context in regards to your application.
Finally, you can use PHP Error directly on your WordPress install or configure your php.ini file to automatically call it for all your PHP files.

Read in

Leave a Comment

Your email address will not be published. Required fields are marked *