Re: cannot find the parse error

From: Date: Tue, 02 Aug 2005 22:27:52 +0000
Subject: Re: cannot find the parse error
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-219872@lists.php.net to get a copy of this message
Miles Thompson wrote:
At 11:45 AM 8/2/2005, John Nichel wrote:
Jochem Maas wrote:
John Nichel wrote:
Jochem Maas wrote: <snip>
did you look at line 44??? (actually I found the problem on line 69 when I cut and pasted into a editor - the editor also gave that line as the one with the error in it:
</snip> And to think that I used to hate editors that did this at one time.
:-) not sure I follow you completely. actually the editor (TextPad in this case) didn't do anything nasty - it was my mail app had already done a nice job with wordwrapping :-/
About 6 or so years ago, I couldn't stand things like syntax highlighting, and editors that error checked (don't know why, I'm just weird that way I guess). Now, I don't know how I lived without it. Guess I've just be assimilated. ;) --
John, Which editor does syntax checking? (In VB I find it a mixed blessing.)
I have Textpad set up with syntax highlighting and I've added an item to the 'tools' menu that allows me to perform a 'php -l' on the current file (1 item for php5, and 1 for php4) - but the best integrated syntax checking (and code analysis) I have found is in the Zend Studio v4 (aka ZDE) - really a superb tool (although I feel some work could still be done on the general/non-php-specifc editor functionality to bring up to par with some of the longer-standing/more traditional editors that I have used)
Cheers - Miles


« previous php.general (#219872) next »