unset reference variables : Reference « Language Basics « PHP






unset reference variables


<?php
     $a = "AAA";
     $b = &$a;
     $c = &$b;
   
     print($a . "<br />");
     unset($b);
     print($c . "<br />");
?>
           
       








Related examples in the same category

1.Assign reference to a variable
2.Variable References Demo
3.Assigning a Variable by Reference