Re: scripts or app to check php syntax ..
| From: | jeremy brand | Date: | Thu, 30 Nov 2000 09:00:36 +0000 |
| Subject: | Re: scripts or app to check php syntax .. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28004@lists.php.net to get a copy of this message | ||
You could use the CGI binary. I do it all the time to check syntax.
$ php -q my_script.php
If you don't have the php CGI binary, then see the file INSTALL in the
php distribution tar ball, as this is another topic.
-jeremy brand
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
- - - - - - - - - - - - - - - - - - - - - - - - -
THIS SPACE FOR SALE - - - NO JOKE
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - -
On Thu, 30 Nov 2000 hentis@twilyt.com wrote:
> Date: Thu, 30 Nov 2000 10:57:20 +0200
> From: hentis@twilyt.com
> Reply-To: hsmith@twilyt.com
> To: PHP list <php-general@lists.php.net>
> Subject: [PHP] scripts or app to check php syntax ..
>
> Hi there :)
>
> I'm busy working on some stuff for a client .. and the only way I can test it .. is to
> upload to their FTP and then
> execute ..
>
> this takes some time .. and I'm bad at spelling so I usually mess up syntax somewhere ..
> is there an app or script to just check syntax . not logic or DB stufff .
>
> Henti
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>