Re: Gripe

From: Date: Fri, 29 Aug 2003 21:07:48 +0000
Subject: Re: Gripe
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-161198@lists.php.net to get a copy of this message
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).
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. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#161198) next »