getmyinode

int getmyinode(void) 

Gets the inode number of the script.

Returns:

Inode number of the PHP script; FALSE on error

Description:

Returns the script’s inode number.

Note:

This function fails under Windows.

Example:

Get inode of script
$inode = getmyinode(); 
echo $inode; 

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.