首页 > php函数 > php fileinode 取得文件模式

php fileinode 取得文件模式

php fileinode 取得文件模式

fileinode ( PHP 4中, PHP 5中) 

fileinode -取得文件的inode上

描述

国际fileinode (字符串$文件名) 

获取文件inode上。 

参数

文件名

文件路径。 

返回值

回报inode上一些文件,或FALSE的情况下发生错误。 

实例

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

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


永久链接:http://www.phprm.com/function/0b3de7e14f42455ad54027fdfb17f5b3.html

转载随意!带上文章地址吧。

标签:none

发表留言