In this video/example I will show how to perform read operation in a file object.we are going to learn about reading file in PHP. File is opened using fopen() function in ‘r’ mode. It can be read with a function called fread(). Close the file with fclose() function.