<?php
session_start();
unset($_SESSION['views']);
?>
output :
note :
1) it deletes "views" session
2) if you already stored value "views" then it deletes "views" otherwise it raises an error
session_start();
unset($_SESSION['views']);
?>
output :
note :
1) it deletes "views" session
2) if you already stored value "views" then it deletes "views" otherwise it raises an error