3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('a', 'b'); array_push($a, [1,2]); print_r($a);
Output for 5.6.30, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.3.1
Array ( [0] => a [1] => b [2] => Array ( [0] => 1 [1] => 2 ) )