The SplFileObject::ftell() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to return the position of the file pointer which specifies the current offset in the file.
int SplFileObject::ftell( void )
Parameters: This function does not accept any parameters.
Return values: This function returns the position of the file pointer.
Below Programs illustrate the SplFileObject::ftell() function in PHP:
13 15 13
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.