Which function is used to destroy a session in PHP?

Explanation:

session_destroy() ends the current session.

Explore more in Computer Science: