Latest web development tutorials

PHP fileinode () function

PHP Filesystem Reference Manual Complete PHP Filesystem Reference Manual

Definition and Usage

fileinode () function returns the specified file inode number.

If successful, the function returns the specified file inode number. If it fails, it returns FALSE.

grammar

fileinode(filename)

参数 描述
filename 必需。规定要检查的文件。


Tips and Notes

Note: The results of this function are cached.Use clearstatcache () to clear the cache.

Note: This function does not run on Windows systems.


Examples

<?php
echo fileinode("test.txt");
?>


PHP Filesystem Reference Manual Complete PHP Filesystem Reference Manual