3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $v = array('a' => '1', 'a' => '2'); var_dump($v);
based on W6AIu
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.3.0beta1
array(1) { ["a"]=> string(1) "2" }