ID: 13944
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Assigned
Bug Type: Feature/Change Request
Operating System: Linux RH7.1
PHP Version: 4.0.6
New Comment:
80% done with this. Just need some more testing.
regards,
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-04-05 10:03:58] [EMAIL PROTECTED]
On the Hungarian PHP list this is frequent question, and surely most of
the developers -including me :)- would love it too!
Naturally it is another self-administering task to the interpreter, so
I would suggest to make it an optional 'developement-time' feature.
Aabout nested includes: it would be good to return a complex data
structure, when the programmer can step-back the calling process.
Csabii
------------------------------------------------------------------------
[2001-11-05 21:41:57] [EMAIL PROTECTED]
I would love to be able, from within a function, to find out the
file/line no that called me.
For example:
/// some code ///
$x = call_a_function();
function call_a_function() {
echo "MY LOCATION: __FILE__ : __LINE__";
/*** This is what I would LOVE ***/
echo "CALLED FROM: __CALLING_FILE__ : __CALLING_LINE__";
}
That would be fantastic!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=13944&edit=1