3v4l.org

run code in 200+ php & hhvm versions
<?php $items = [ 1 => 'A', 1 => 'B', 1 => 'C' ]; var_dump($items[1]);
based on AWsrK
Output for 7.1.25 - 7.3.5
string(1) "C"