How will you unset a single session variable?

Submitted by: Muhammad
Here is the example to unset a single variable −

<?php
unset($_SESSION['counter']);
?>
Submitted by: Muhammad

Read Online Sr. PHP Programmer Job Interview Questions And Answers