php fileinode 取得文件模式
fileinode
( PHP 4中, PHP 5中)
fileinode -取得文件的inode上
描述
国际fileinode (字符串$文件名)
获取文件inode上。
参数
文件名
文件路径。
返回值
回报inode上一些文件,或FALSE的情况下发生错误。
实例
例如# 1比较inode上的文件与当前文件
$filename = 'index.php';
if (getmyinode() == fileinode($filename)) {
echo 'You are checking the current file.';
}
?>
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号