If you have access to a terminal/shell command prompt, you can use the PHP "lint" option to check syntax:
php -l filename.php [That's a lower-case "L"]
For running through the webserver via the browser you want to turn on the display_errors option and set the error_reporting option to "E_ALL | E_STRICT". You can do this via php.ini, or via a .htaccess file if running Apache. You can also set it within your script with:
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
However, if the error settings from the system config have error output disabled, then turning it on in the script won't help you see parse errors (since those config commands will not have actually been executed yet).
The .htaccess file contents would be:
php_flag display_errors on
php_value error_reporting E_ALL | E_STRICT