Home > php教程 > php手册 > body text

php fileinode 取得文件模式

WBOY
Release: 2016-06-13 11:17:16
Original
1412 people have browsed it

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


Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template