Unset variable : Variable Set Unset : Language Basics PHP Source Code


PHP Source Code » Language Basics » Variable Set Unset »

 

Unset variable




<?
   $a="Hello there!";

   echo $a

   unset($a);

   echo $a; // Error: there is no variable $a
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» Variable Set Unset