Easiest way in the web server environment: $_SERVER['SCRIPT_FILENAME']
will show the original file that is called.
Universal way - debug_backtrace()
will show you all previous steps of the execution, which will include calls to require/include functions.