Gilles Ganault wrote:
> On Thu, 08 May 2008 17:22:59 -0400, sheldonlg <sheldonlg> wrote:
>>You will never have a compile-time error with PHP since PHP is a script
>>and, hence, doesn't compile. Perhaps you mean run-time issues?
>
> No, I meant syntax errors that could be picked by just parsing the
> source, so those simple issues are detected before actualling running
> the program. "php -l" did the trick (along with "... or die" to detect
> faulty SQL commands). Thanks.
some editors have syntax checking, as for example jEdit (
www.jedit.org) with
phpparser plugin installed.
--
a.d.