It does count blank lines, note that the line with the error maybe well
above the line shown in the error...the only indicates where the error
(whatever it may be) causes a problem in the script.
Bastien
From: 'Yemi Obembe <fickledreams@xxxxxxxxx>
To: php-db@xxxxxxxxxxxxx
Subject: php line error
Date: Mon, 16 May 2005 05:51:32 -0700 (PDT)
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
2. are externally included files (using include(), require() etc) also
"line counted"(sic)?
3. are d parts of the file that are not in php (i mean that are not
contained within the php delimeters) also counted?
---------------------------------
A passion till tomorrow,
Opeyemi Obembe | ng.clawz.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php