English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
PHP Filesystem Reference Manual
The fileinode() function can return the index node of the specified file. If successful, this function returns the index node number of the file; if it fails, it returns false.
int fileinode ( string $filename )
The result of this function can be cached, and we can use the clearstatcache() function to clear the cache. This function cannot run on the Windows operating system.
<?php $filename = "sample.txt"; echo fileinode($filename); ?>Test and See‹/›
Output Result
12666373952223775