3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array(1,2,3); echo $test[0]; $test[4] = 4; echo $test[4]; $t = array(); $t[0] = 10; echo $t[0]; ?>
Output for 4.3.0 - 7.1.0
1410