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