fork(1) download
  1. <?php
  2. $a=array(
  3. "key1"=>"test",
  4. "key2"=>"test2"
  5. );
  6.  
  7. unset($a['key1']);
  8.  
  9.  
  10.  
  11. $b=array(1,2,3,4,5);
  12. unset($b['2']);
  13.  
  14. // your code goes here
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
Array
(
    [0] => key2
)
Array
(
    [0] => 0
    [1] => 1
    [2] => 3
    [3] => 4
)