3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = "aaa bbb ccc"; var_dump($s["bbb"]);
based on ANTYJ
Output for 5.4.0 - 7.2.0
Warning: Illegal string offset 'bbb' in /in/8ZFAl on line 4 string(1) "a"