Which function is used to erase all session variables stored in the current session?

Which function is used to erase all session variables stored in the current session? Correct Answer session_unset()

The function session_unset() frees all session variables that is currently registered. This will not completely remove the session from the storage mechanism. If you want to completely destroy the session, you need to use the function session_destroy().

Related Questions

Which are usually variables that are used internally in object methods and also are globally visible variables?
Semiconductor memory device in which stored data will remain permanently stored as long as power is supplied is --