gongzhonghao.png
扫码关注我们
最新赞助活动温馨提示:自愿赞助服务器费用,学生和没有工作的整站资源免费下载!
头像

php fileinode() 函数使用实例

来源:http://erdangjiade.com/topic/1833.html 你好,世界。 2017-09-25 22:42浏览(13)

fileinode() 函数返回文件的 inode 编号。

若成功,则返回指定文件的 inode 节点号。若失败,则返回 false。

语法

fileinode(filename)

filename 必需。规定要检查的文件。

实例

例如# 1比较inode上的文件与当前文件

<?php
$filename = 'index.php';
if (getmyinode() == fileinode($filename)) {
    echo 'You are checking the current file.';
}
?>

以上就是php fileinode() 函数使用实例的详细内容,更多请关注二当家的素材网其它相关文章!

评论0
头像

友情提示:垃圾评论一律封号 加我微信:826096331拉你进VIP群学习群

1 2