php filectime()函數(shù)用于取得文件的 inode 修改時間。
php filectime()函數(shù) 語法
作用:返回指定文件的上次 inode 修改時間
語法:
filectime(filename)
參數(shù):
filename 必需。規(guī)定要檢查的文件。
說明:該函數(shù)返回文件上次 inode 被修改的時間。如果出錯則返回 false。時間以 Unix 時間戳的方式返回。
php filectime()函數(shù) 示例:
- <?php
- $file = filectime("./test.txt");
- echo $file;
- ?>
本篇文章就是關(guān)于PHP filectime函數(shù)的介紹,希望對需要的朋友有所幫助!
新聞熱點(diǎn)
疑難解答