note 24193 added to function.include

From: Date: Thu, 08 Aug 2002 20:54:20 +0000
Subject: note 24193 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-34568@lists.php.net to get a copy of this message
I've noticed that since we've started using includes, parse errors return incorrect lines when giving errors. It seems that the parser gets confused about the line number after another PHP file is included. Is there a way for me to setup PHP so that the parser correctly interprets the line numbers? My colleague and I start pulling our hair out when we get a parse error on a 500-line document and the parser points to a blank line! -- http://www.php.net/manual/en/function.include.php http://master.php.net/manage/user-notes.php?action=edit+24193 http://master.php.net/manage/user-notes.php?action=delete+24193 http://master.php.net/manage/user-notes.php?action=reject+24193

« previous php.notes (#34568) next »