Re: php line error. .

From: Date: Mon, 16 May 2005 14:18:47 +0000
Subject: Re: php line error. .
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-39455@lists.php.net to get a copy of this message
'Yemi Obembe wrote:
just care to know how php does the line counting when it echoes error messages like: parse error: unexpected '}' on line 129 1. does the "line counting" includes empty lines yes.
2. are externally included files (using include(), require() etc) also "line counted"(sic)? no. (but the line with the include() call counts normally
3. are d parts of the file that are not in php (i mean that are not contained within the php delimeters) also counted? yes.
in short, it's the line number of the script as if it were a plain text file. cheers, -- - Martin Norland, Sys Admin / Database / Web Developer, International Outreach x3257 The opinion(s) contained within this email do not necessarily represent those of St. Jude Children's Research Hospital.

« previous php.db (#39455) next »