Query: fileinode
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FILEINODE(3) 1 FILEINODE(3) fileinode - Gets file inodeSYNOPSISint fileinode (string $filename)DESCRIPTIONGets the file inode.PARAMETERSo $filename - Path to the file.RETURN VALUESReturns the inode number of the file, or FALSE on failure.EXAMPLESExample #1 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.'; } ?>ERRORS/EXCEPTIONS Upon failure, an E_WARNING is emitted.NOTESNote The results of this function are cached. See clearstatcache(3) for more details. Tip As of PHP 5.0.0, this function can also be used with some URL wrappers. Refer to "Supported Protocols and Wrappers" to determine which wrappers support stat(3) family of functionality.SEE ALSOgetmyinode(3), stat(3). PHP Documentation Group FILEINODE(3)
Related Man Pages |
---|
filemtime(3) - php |
is_readable(3) - php |
lstat(3) - php |
fileatime(3) - php |
is_file(3) - php |
Similar Topics in the Unix Linux Community |
---|
UNIX.COM 2017 Year End Summary |
New Code Tags (Syntax Highlighting) |
Status of UNIX.COM Forum Transformation |
Please Welcome Ravinder Singh to the Moderation Team |
Denial Of Service Attack Update |