note 24193 rejected from function.include by maxim

From: Date: Thu, 08 Aug 2002 21:38:00 +0000
Subject: note 24193 rejected from function.include by maxim
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34571@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!

« previous php.notes (#34571) next »