📜  如何在php代码示例中分配后重新分配关联数组的值

📅  最后修改于: 2022-03-11 14:54:10.035000             🧑  作者: Mango

代码示例2
$employee = [
    "bill" => 25,
    "steve" => 36,
    "alice"=>44
];

$employee["alice"] = 48;
$employee["musk"] = 42;//to add 
echo "
";
print_r ($employee);
echo "
";