unset() Function : Variable Set Unset : Language Basics PHP Source Code


PHP Source Code » Language Basics » Variable Set Unset »

 

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>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» Variable Set Unset