Get your own PHP server Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<pre>
<?php  
$cars = array("brand" => "Ford", "model" => "Mustang", "year" => 1964);
$cars["year"] = 2024;
var_dump($cars);
?>  
</pre>
</body>
</html>
array(3) {
  ["brand"]=>
  string(4) "Ford"
  ["model"]=>
  string(7) "Mustang"
  ["year"]=>
  int(2024)
}