how to update associative array in php code example
Example: how to re assign value of associative array after assign in php
$employee = [
"bill" => 25,
"steve" => 36,
"alice"=>44
];
$employee["alice"] = 48;
$employee["musk"] = 42;//to add
echo "<pre>";
print_r ($employee);
echo "</pre>";