Display all PHP errors and warnings

 The quickest way to display all php errors and warnings is to add these lines to your PHP code file: 

ini_set('display_errors', 1);

ini_set('display_startup_errors', 1);

error_reporting(E_ALL);

Comments

Popular posts from this blog

How Things Used To Be

Controversial programming opinions

Some lesser-known truths about programming