How to show all errors in PHP

To show all errors in PHP you can use the following snippet.

Sample PHP

error_reporting(E_ALL);
ini_set('display_errors', '1');

Please Share us:
Please rate this snippet

2 thoughts on “How to show all errors in PHP

Leave a Reply