3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'abc'; echo $a['a'];
Output for 5.4.0 - 7.1.0
Warning: Illegal string offset 'a' in /in/WZfZg on line 3 a
Output for 4.3.0 - 5.3.29
a