PHP file path of included file

Viewed 738

Is it possible to echo the complete file-path OF included file FROM included file. This is what is want to achieve:

Test1.php

include "test2.php";

Test2.php

echo "file path of test2.php";
2 Answers
Related