3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'foo'; var_dump($a[1]);
Output for 5.3.21 - 7.2.6
string(1) "o"