Q. Which of the following is used to destroy a session in PHP?
β
Correct Answer: (A)
session_destroy()
Explanation: session_destroy() is used to end a session and delete session data.