which php function can be used to end a session code example Example: end session variable php // destroy the session <?php session_destroy(); ?>