--- "John W. Holmes" <[EMAIL PROTECTED]> wrote:
> How could the parser possibly know that one was missing as it's going
> through the file? It just keeps a count and can only realize something
> is wrong when it gets to the end of the file and sees the count is off.
I can't see how a human could determine this prior to getting to the end
either, unless you assume that the author has properly indented the code. Am I
missing something obvious?
if ($foo) { if ($bar) echo 'blah'; else { echo 'else'; }
Where is the missing brace? :-)
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php