かなり自明です。たとえば、ファイル (AB.txt) は C ドライブと (NFS) マウントされた W ドライブの両方にあります。Windows 7 x64 オペレーティング システムところで。
function fileExists($path){
return (@fopen($path,"r")==true);
}
var_dump(fileExists('C:\AB.txt'));
var_dump(fileExists('W:\AB.txt'));
var_dump(file_exists('C:\AB.txt'));
var_dump(file_exists('W:\AB.txt'));
与える
boolean true
dir='ltr'>boolean false
boolean true
dir='ltr'>boolean false
php wiki や Google で検索しても、この動作の説明が見つかりません。