Re: Re: PARSE ERROR: line number listed is n+1?!?

From: Date: Thu, 13 Sep 2001 23:09:53 +0000
Subject: Re: Re: PARSE ERROR: line number listed is n+1?!?
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-9349@lists.php.net to get a copy of this message
yeah... that's what i thought too. so i went and checked stuff. even doubled made sure that the closing "?>" was retyped. wouldnt the PHP.EXE catch that and report diff error, if it were a bracket or something? well i'll over the thing again. guess i'll print it instead of staring at a screen, scrolling up... down... for an hour or so... ;-( Hugh Bothwell wrote: > > "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. > -- Leo G. Divinagracia III ldivinag@csuhayward.edu

« previous php.windows (#9349) next »