3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $simpleString = "Bogus String Text"; var_dump($simpleString["wrong"]);
Output for 5.4.0 - 7.1.0
Warning: Illegal string offset 'wrong' in /in/sShlv on line 6 string(1) "B"
Output for 4.3.0 - 5.3.29
string(1) "B"