在file.php中打开文件a.txt(两者的绝对目录都为D:wampwwwFileSystem),下列哪项可以正确输出a.txt的绝对路径?()(选择一项)
A echo __FILE__.'a.txt'; B echo __DIR__.'a.txt'; C echo __DIR__; D echo dirname(__FILE__);
答案 B