Standard PHP Library (SPL) the collection of standard data structures. The SPL data structure grouped the contents according to their implementation. Example: Below programs illustrate… Read More
Tag Archives: PHP-SplFileInfo
The SplFileObject::rewind() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to Rewind the file to the first line.… Read More
The SplFileObject::seek() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to seek to specify the line. Syntax: void… Read More
The SplFileObject fputcsv() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used write a field array as a CSV… Read More
The SplFileObject::getMaxLineLen() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to get maximum line length. Syntax: int SplFileObject::getMaxLineLen(… Read More
The SplFileObject::ftruncate() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to truncates the file size in bytes. Syntax:… Read More
The SplFileObject::fstat() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to give the information of the file. Syntax:… Read More
The SplFileObject::fread() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to reads the given number of bytes from… Read More
The SplFileObject::setMaxLineLen() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to set the maximum length of line length.… Read More
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… Read More
The SplFileObject flock() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to apply portable lock on the file.… Read More
The SplFileObject::fwrite() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to write to the file. Syntax: int SplFileObject::fwrite(… Read More
The SplFileObject::current() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to get current line of file. Syntax: string… Read More
The SplFileObject::fgetc() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to get character from file. Syntax: string SplFileObject::fgetc(… Read More
The SplFileObject::fgets() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to get line from file. Syntax: string SplFileObject::fgets(… Read More