Current Location: Home> Function Categories> fileinode

fileinode

Get the inode of the file
Name:fileinode
Category:File system
Programming Language:php
One-line Description:Returns the inode number of the file.

Definition and usage

fileinode() function returns the inode number of the file.

If successful, the inode node number of the specified file is returned. If it fails, return false.

Example

 <?php
echo fileinode ( "test.txt" ) ;
?>

grammar

 fileinode ( filename )
parameter describe
filename Required. Specify documents to be inspected.
Similar Functions
  • Read the entire file into an array file

    file

    Readtheentirefileint
  • Create a file with a unique file name tempnam

    tempnam

    Createafilewithauniq
  • Find file paths that match patterns glob

    glob

    Findfilepathsthatmat
  • Format input from a file fscanf

    fscanf

    Formatinputfromafile
  • Positioning in file pointer fseek

    fseek

    Positioninginfilepoi
  • Match file names with pattern fnmatch

    fnmatch

    Matchfilenameswithpa
  • Export buffered content to file fflush

    fflush

    Exportbufferedconten
  • Get file modification time filemtime

    filemtime

    Getfilemodificationt
Popular Articles