3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $value = array(); $string = "foooooooood"; $string[$value];
Output for 5.2.0 - 7.1.0
Warning: Illegal offset type in /in/0nVac on line 7
Output for 4.3.0 - 5.1.6