3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'aalse'; var_dump( $a['foo'] );
Output for 5.4.0 - 7.2.0
Warning: Illegal string offset 'foo' in /in/odfZP on line 4 string(1) "a"
Output for 4.3.0 - 5.3.29
string(1) "a"