3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'foo bar baz'; var_dump($str['asdf']);
Output for 5.4.0 - 7.1.0
Warning: Illegal string offset 'asdf' in /in/S9pRD on line 3 string(1) "f"
Output for 4.3.0 - 5.3.29
string(1) "f"