Q. Which of the following functions is used to include a file in PHP?
β
Correct Answer: (D)
Both require() and include()
Explanation: PHP provides include() and require() for including files. The difference is that require() produces a fatal error if the file is missing, while include() only produces a warning.