THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

PHP fileinode() Function


PHP Filesystem Reference Complete PHP Filesystem Reference

Definition and Usage

The fileinode() function returns the inode of the specified file.

This function returns the inode number of the file on success, FALSE on failure.

Syntax

fileinode(filename)

Parameter Description
filename Required. Specifies the file to check

Tips and Notes

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

Note: This function doesn't produce meaningful results on Windows systems.


Example

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

PHP Filesystem Reference Complete PHP Filesystem Reference