3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = 1; $foo []= 'test2'; ?>
based on j1lsO
Output for 4.3.0 - 7.1.0
Warning: Cannot use a scalar value as an array in /in/LHagI on line 4