Q. Which PHP function is used to read a file line by line
β
Correct Answer: (A)
fgets
Explanation: fgets reads a single line from a file pointer