fileinode
fileinode
Gets file inode
**fileinode** string $filename
Gets the file inode.
filenamePath to the file.
Returns the inode number of the file, return.falseforfailure.
Voorbeeld: Comparing the inode of a file with the current file
<?php
$filename = 'index.php';
if (getmyinode() == fileinode($filename)) {
echo 'You are checking the current file.';
}
?>
getmyinode``stat