PHP Display all errors

How to display all errors in php?

 d6btw

Simple. Just input this code in first line of your main php file:


<?php
error_reporting(E_ALL); 
ini_set("display_errors", 1);
//... your code here
Scroll to Top
Ads: