Home  >  Article  >  Backend Development  >  php fileinode 取得文件模式_PHP教程

php fileinode 取得文件模式_PHP教程

WBOY
WBOYOriginal
2016-07-20 11:01:021139browse

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.';
}
?>


www.bkjia.comtruehttp://www.bkjia.com/PHPjc/445460.htmlTechArticlephp fileinode 取得文件模式 fileinode ( PHP 4中, PHP 5中) fileinode -取得文件的inode上 描述 国际fileinode (字符串$文件名) 获取文件inode上。 参数...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn