ID:               32382
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jgauld at blueyonder dot co dot uk
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: Any
 PHP Version:      Irrelevant
 New Comment:

We have debug_backtrace() and debug_print_backtrace() 


Previous Comments:
------------------------------------------------------------------------

[2005-03-20 12:03:06] jgauld at blueyonder dot co dot uk

Description:
------------
It would be really helpful to have a way of determining which script
(file) has just called a function (which may or may not be defined in
an "include()"ed file), and based on some bespoke code within that
function, be able to to allow or deny it's execution.

Perhaps something along the lines of a new magic constant similar to
__FILE__ that actually holds the absolute path to the calling script
(__FILECALLER__?)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32382&edit=1

Reply via email to