Mega Code Archive

 
Categories / Php / Language Basics
 

Unset() Function

<html> <head>      <title>Unset()</title> </head> <body> <?php      $authorJ = "A";      $authorC = "B";      $jeremy = &$authorJ;      $charlie = &$authorC;          print("$authorJ <br/>");      unset($jeremy);      print($authorJ . " or " . $jeremy . "<br />");          print("$authorC <br />");      unset($charlie);      unset($authorC);      print($authorC); ?> </body> </html>