Setting the line number for debugging
[email protected] ("Thomas Lochmatter") Wed, 14 Aug 2002 14:16:41 +0200
| Newsgroups | php.lang |
|---|---|
| Message-ID | <[email protected]> |
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
[email protected]