Re: debuging and getting mor information about failures

From: Date: Tue, 29 Jul 2003 16:29:16 +0000
Subject: Re: debuging and getting mor information about failures
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157327@lists.php.net to get a copy of this message
Check semicommas too. Peter James wrote:
These errors are usually caused by an extra or missing brace or quote/apostrophe/backtick. The best way to find where this is happening is to use another error. Start at the bottom of your script and introduce some garbage on a line by itself. "asdf" for example. This should cause a parse error when encountered. Move this up a few lines at a time, until the original parse error goes away, and this one starts. This will help you identify where your problem is. This is a very frustrating error message, but the above should take some of the pain away. :-) HTH. Pete.


« previous php.general (#157327) next »