Re: debugging

From: Date: Thu, 22 Jun 2000 17:26:57 +0000
Subject: Re: debugging
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2666@lists.php.net to get a copy of this message
> Hello php-general, > > As a result of poor quality of scripting engine very much frequently > error is displayed on the last line of the file instead of real > places. I have found many questions on it, but has not found the > answers. Whether it is possible to receive from PHP better error > messages? You will see the same effect for just about any scripting language. If you miss a ) or a " somewhere in your script, the parser will parse right to the end looking for the closing bracket or quote. Use a syntax-highlighting text editor, and errors like these will stand out. Or feed it through PHP's internal syntax highlighter by symlinking your file to a .phps extension. By the way, please try to improve the tone of your questions in the future. -Rasmus

« previous php.general (#2666) next »