This will just tell you whether or not there are syntax errors
php -l a.php
To see actually errors
php -d display_errors=1 -d error_reporting=4 -l a.phpThis will just tell you whether or not there are syntax errors
php -l a.php
To see actually errors
php -d display_errors=1 -d error_reporting=4 -l a.php