<?php
 
$array = array(
	"chave1" => 1,
	"chave2" => "dois",
	"chave3" => false
);

$array["chave2"] = 2;
 
echo $array["chave2"];