Setting the line number for debugging

From: Date: Wed, 14 Aug 2002 13:24:36 +0000
Subject: Setting the line number for debugging
Groups: php.general 
Request: Send a blank email to php-general+get-112529@lists.php.net to get a copy of this message
Is it possible to set the line number and file name to show in error messages? I'm looking for something similar to the perl's expression #line 298 myscript.pl which tells the compiler explicitely that here is line 298 of myscript.pl. If an error occurs 5 lines later, it would show something like "compile error at line 303 in myscript.pl", whatever the real line number and filename is. Thomas thl@lothosoft.ch

« previous php.general (#112529) next »