3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Heeey I'mm loooooong"; echo $str[0][11];
based on 3807T
Output for 5.4.0 - 7.2.0
Notice: Uninitialized string offset: 11 in /in/SBJnK on line 5
Output for 5.0.0 - 5.3.29
Fatal error: Cannot use string offset as an array in /in/SBJnK on line 5
Process exited with code 255.
Output for 4.3.0 - 4.4.9