3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = "Foo"; var_dump($x['bar']);
Output for 5.4.0 - 7.1.0
Warning: Illegal string offset 'bar' in /in/3iv2X on line 5 string(1) "F"
Output for 4.3.0 - 5.3.29
string(1) "F"