Posted by Jay Blanchard on 11/23/05 00:23
[snip]
How should PHP syntax be checked before execution? Anything similar to
what option -c does in Perl?
% perl -c test.pl
[/snip]
from the command line
/usr/local/bin/php -i myScript.php
[/snip]
Ooops, sorry, should be an ell "l"
/usr/local/bin/php -l myScript.php
Navigation:
[Reply to this message]
|