3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = 'test'; $test['test'] = 'anotherTest'; var_dump($test);
Output for 5.4.0 - 7.2.0
Warning: Illegal string offset 'test' in /in/Rf0i9 on line 3 string(4) "aest"
Output for 4.3.0 - 5.3.29
string(4) "aest"