3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = ''; echo $s[0];
Output for 5.2.10 - 7.1.0
Notice: Uninitialized string offset: 0 in /in/D7nKL on line 4
Output for 4.3.0 - 5.2.9
Notice: Uninitialized string offset: 0 in /in/D7nKL on line 4