php cli display errors
snippet in php

php cli display errors

user7241

php -d display_errors=on  script.php