You are here: Re: [PHP] syntax checking? « PHP « IT news, forums, messages
Re: [PHP] syntax checking?

Posted by Bing Du on 11/23/05 00:31

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация