PHP fileinode()Function
Complete PHP Filesystem Reference Manual
Definition and Usage
The fileinode() function returns the inode number of the specified file.
If successful, the function returns the inode number of the specified file. If it fails, it returns FALSE.
Syntax
fileinode(filename)
| Parameters | Description |
|---|---|
| filename | Required. Specifies the file to check. |
Tips and Notes
Note:The results of this function are cached. Use clearstatcache() to clear the cache.
Note:This function cannot run on Windows systems.
Example
<?php
echo fileinode("test.txt");
?>
echo fileinode("test.txt");
?>
Complete PHP Filesystem Reference Manual Other Extensions