in file.php,
call()...
file.php içeride mutlak yolunu almak için nasıl call()?
call() başka bir dosyada tanımlanmış olabilir dikkat ediniz.
another.php:
function call(){..}
file.php:
include(path_to_another.php);
call();
debug_backtrace dışında hiçbir şekilde
function whatever() {
$t = debug_backtrace();
echo "called from {$t[0]['file']}";
}