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 characters from file pointer fgetc

    fgetc

    Readcharactersfromfi
  • Determine whether the given file name is a symbolic connection is_link

    is_link

    Determinewhethertheg
  • Determine whether the given file name is writable is_writable

    is_writable

    Determinewhethertheg
  • Format input from a file fscanf

    fscanf

    Formatinputfromafile
  • Synchronize changes to files (including metadata) fsync

    fsync

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

    fgetcsv

    Readalinefromthefile
  • Output file readfile

    readfile

    Outputfile
  • Provide information about the document stat

    stat

    Provideinformationab
Popular Articles