Re: PARSE ERROR: line number listed is n+1?!?
| From: | Hugh Bothwell | Date: | Thu, 13 Sep 2001 22:47:10 +0000 |
| Subject: | Re: PARSE ERROR: line number listed is n+1?!? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9348@lists.php.net to get a copy of this message | ||
"Leo G. Divinagracia III" <ldivinag@csuhayward.edu> wrote in message
news:3BA11997.F1AF8EAA@csuhayward.edu...
> so i write this script. all syntax errors are taken care of. but now i
> get a PARSE ERROR wit the line number given as one more than the total
> number of lines.
>
> for example, there's a total of 100 lines in the script. and the error
> message is PARSE ERROR: 101 line.
>
> i check to make sure there are no "phantom" lines after the last one.
> nothing.
>
> anyone else run into this before?
The interpreter is surprised that the file
has ended, it still expects something -
maybe you left out a closing bracket somewhere.