The __FILE__ constant returns the entire path and name of the currently running PHP file. The name of the included file is returned if used inside an include.