Q. Which function is used to terminate script execution in PHP?
β
Correct Answer: (B)
exit()
Explanation: The exit() or die() functions stop the script execution.