3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x='a'; var_dump($x['s']);
Output for 5.4.0 - 7.1.0
Warning: Illegal string offset 's' in /in/eGmYV on line 3 string(1) "a"
Output for 4.3.0 - 5.3.29
string(1) "a"