PHP | fgets( ) Function

The fgets() function in PHP is an inbuilt function which is used to return a line from an open file.