3v4l.org

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