3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(1,2,3); $b = array('zero', 'one', 'two', 'three'); echo $b[$a[0]];
Output for 4.3.0 - 7.1.0
one