英 [st?t]? ?美 [st?t]??
n.斯達(dá)(放射性強(qiáng)度單位,等於3。64×10的-7次方居里)
php stat()函數(shù) 語(yǔ)法
作用:傳回關(guān)於檔案的資訊。
語(yǔ)法:stat(file)
參數(shù):
file? ??######必要。規(guī)定要檢查的文件。?##################說(shuō)明:###取得由?file?指定的檔案的統(tǒng)計(jì)資料。如果?file?是符號(hào)連接,則統(tǒng)計(jì)資料是關(guān)於被連接檔案本身的,而不是符號(hào)連接。如果出錯(cuò),stat() 傳回 false,並且發(fā)出警告。 ###
php stat()函數(shù) 範(fàn)例
<?php $file = stat("./test.txt"); print_r($file); ?>