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

Sample PHP

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

2 thought on “How to show all errors in PHP”

Leave a Reply