Re: syntax checking?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jay Blanchard wrote:

[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

Too late :). I've already tried -i. Boy, that returns tons of information . My machine was choked.

Bing

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux