(PHP 4, PHP 5, PHP 7)
session_unset — Free all session variables
The session_unset() function frees all session variables currently registered.
Returns TRUE on success or FALSE on failure.
| Version | Description |
|---|---|
| 7.2.0 | The return type of this function is bool now. Formerly, it has been void. |