3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = 1; $test[] = 1; print_r($test);
Output for 4.3.0 - 7.1.0
Warning: Cannot use a scalar value as an array in /in/0Y5Uj on line 4 1