UnSet array element : Variable Set Unset : Language Basics PHP Source Code


PHP Source Code » Language Basics » Variable Set Unset »

 

UnSet array element




<?

 $A=array(0=>"zzzz"
          "a"=>"aaa"
          "b"=>"bbb"
          "c"=>"ccc");

 Unset($A["a"]);

 echo $A["a"]

?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» Variable Set Unset