3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = 'string'; echo $var[-1];
Output for 7.1.0 - 7.2.0
g
Output for 5.3.21 - 7.0.20
Notice: Uninitialized string offset: -1 in /in/Ml4Pt on line 4