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...

Jackson Miller wrote:

Why is it that when you forget a "}" the error says:
Unexpected $ on line [last line of file]

Why can't it just say:
Missing } on or before (best guess).

-Jackson



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to