3v4l.org

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