Q. Which function is used to read a file into a string?
β
Correct Answer: (A)
file_get_contents()
Explanation: file_get_contents() reads a file into a string.