3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a1 = array('1' => 0, '2' => 0, '3' => 2, '4' => 10, '5' => 3, '6' => 8, '7' => 3, '8' => 5); echo $a1[4];
based on Tsarc
Output for 4.3.0 - 7.2.0
10