Indenting code and code syntax highlighting make it very easy to spot an open brace, vim is an excellent editor, komodo, zend studio, eclipse, etc.
Jason
Mike Migurski wrote:
Cuz the the way the PHP parser is written makes it impossible to discover the error before it gets to the end of the file, and realizes that there are no more braces to go around.
It definitely sucks... almost as badly as a stray backtick. Try finding
that little bugger at 1600x1280...
This is where the benefits of a syntax-coloring text editor really come into play - you find the missing backtick as soon as you see your code colored like a text string.
--------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php