如何找出调用我的函数的脚本的文件名?
例如,
function sthing() { echo __FILE__; // echoes myself echo __CALLER_FILE__; // echoes the file that called me }
php debugging function
debugging ×1
function ×1
php ×1