getmyinode()
This function gets the inode of the file it’s used in. See fileinode() for info on the inode of a file.
There are no parameters. It simply gives you the inode as an integer.
$inode = getmyinode(); // 1875971
See the manual entry for getmyinode()
