php 7.3 invalidate session code example Example: php session destroy <?php // Destroy the currently active session. session_destroy(); ?>