Re: syntax checking?

From: Date: Tue, 22 Nov 2005 22:31:33 +0000
Subject: Re: syntax checking?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-226313@lists.php.net to get a copy of this message
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

« previous php.general (#226313) next »