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
  • Positioning in file pointer fseek

    fseek

    Positioninginfilepoi
  • Parse a configuration file parse_ini_file

    parse_ini_file

    Parseaconfigurationf
  • Match file names with pattern fnmatch

    fnmatch

    Matchfilenameswithpa
  • Read a line from a file pointer and filter out HTML tags fgetss

    fgetss

    Readalinefromafilepo
  • Establish symbolic connection symlink

    symlink

    Establishsymboliccon
  • Read files (safely used in binary files) fread

    fread

    Readfiles(safelyused
  • Open a file or URL fopen

    fopen

    OpenafileorURL
  • Read a line from the file pointer and parse the CSV field fgetcsv

    fgetcsv

    Readalinefromthefile
Popular Articles