ID: 15523
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.1.1
New Comment:
The constant __LINE__ contains the current line number.
Previous Comments:
------------------------------------------------------------------------
[2002-02-12 10:24:47] [EMAIL PROTECTED]
Hi there !
I think it would be great if it would be possible to find out from
which line of a script a function has been called.
example
1 function blah()
2 {
3 echo("Function blah has been called from line 6");
4 }
5
6 blah();
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15523&edit=1