Q. Which of the following functions is used to open a file in PHP?
β
Correct Answer: (A)
fopen()
Explanation: fopen() is the correct function to open files in PHP.