PHP remove key from associative array Posted byProsoxi.com Webmaster May 3, 2011 Leave a comment on PHP remove key from associative array $a = array( ‘a’ => 123, ‘b’ => 456, ‘c’ => 789, ‘d’ => 123 ); unset($a[‘b’]); print_r($a);