Completing the Entire Session in PHP

If you need to delete all session variables for this user, you should use the session_destroy function:

php<?php
  session_destroy();
?>

Note that this function can only be called when the session has been started via session_start.

Задание 1

Create a page logout.php where the user's session will be terminated upon visiting.