Q. Which function ends a script in PHP?
β
Correct Answer: (A)
exit()
Explanation: exit() terminates the script execution immediately.