3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = "really a string"; echo $array['foo'];
Output for 5.4.0 - 7.1.0
Warning: Illegal string offset 'foo' in /in/ugP0u on line 3 r
Output for 4.3.0 - 5.3.29
r