Question : php display errors
Answered by : httpsgithubcomgarzj
// Add these lines somewhere on top of your PHP file:
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Source : | Last Update : Wed, 17 Jun 20
Question : php cli display errors
Answered by : yucky-yak-8flylr53nsce
php -d display_errors=on script.php
Source : https://stackoverflow.com/questions/24159969/php-command-line-run-does-not-show-errors | Last Update : Tue, 01 Dec 20
Question : show php all errors
Answered by : zealous-zebra-vzfu59zttopp
error_reporting(E_ALL);
ini_set('display_errors', '1');
Source : https://stackoverflow.com/questions/5438060/showing-all-errors-and-warnings | Last Update : Sun, 28 Feb 21