3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d = array(); $d = array("ts" => "123", "dmnd" => "456"); $d = array("ts" => "678", "dmnd" => "876"); var_dump($d); ?>
based on nn3BZ
Output for 4.3.0 - 7.1.7
array(2) { ["ts"]=> string(3) "678" ["dmnd"]=> string(3) "876" }