File handling is an important part of any web application. You often need to open and process a file for different tasks.
PHP File System allows us to create file, read file line by line, read file character by character, write file, append file, delete file and close file.