session_destroy

PHP 4, PHP 5, PHP 7, PHP 8
session_destroy - Destroys all data registered to a session
Manual
Code Examples

Example #1 Destroying a session with <span class='function-varname'>$_SESSION</span>

PHP Version: