Example
Return the file inode of "test.txt":
html
<?php
echo fileinode("test.txt");
?>
Definition and Usage
The fileinode() function returns the inode of the specified file.
Note: The result of this function is cached. Use clearstatcache() to clear the cache.
Syntax
text
fileinode(filename)
Parameter Values
| Parameter | Description |
|---|---|
| filename | Required. Specifies the path to the file to check |
Technical Details
| Return Value: | The inode number of the file on success, FALSE on failure |
|---|---|
| PHP Version: | 4.0+ |