Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

unset reference variables

Mon Oct 27, 2008 5:49 pm

Code:

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




Post a reply
  Related Posts  to : unset reference variables
 object reference be cast to an interface reference     -  
 Local variables vs Instance variables     -  
 Unset variable     -  
 UnSet array element     -  
 PHP Variables     -  
 Apache Variables in php     -  
 Variables Are Assigned by Value     -  
 Casting Variables in php     -  
 Scope Variables in php     -  
 PHP session variables     -  

Topic Tags

PHP Variables