3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); $a[] = 'hello'; $a[] = 'yes'; echo $a[0];
based on kuLmD
Output for 4.3.0 - 7.1.0
hello