ID: 11651
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating system: Linux RedHat 5.2
PHP Version: 4.0.5
Description: Need something like a __LINE__ constant to show the line in *main* file.

Previous Comments:

[2001-06-25 04:34:27] [EMAIL PROTECTED]
When some error happens in function within included file it is sometimes very hard to 
find from which line in the main script (containing include function) this function 
was called. It would be much better if there were a way to get the number of the line 
within the main script file which is being parsed.


include ("file2");


function some_function() {


Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to