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