UnSet array element : Variable Set Unset « Language Basics « PHP
- PHP
- Language Basics
- Variable Set Unset
UnSet array element
<?
$A=array(0=>"zzzz",
"a"=>"aaa",
"b"=>"bbb",
"c"=>"ccc");
Unset($A["a"]);
echo $A["a"]
?>
Related examples in the same category