3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('a'=>1,'b'=>2); $array[] = array('a'=>3,'b'=>4); print_r($array);
Output for 4.3.0 - 7.1.0
Array ( [a] => 1 [b] => 2 [0] => Array ( [a] => 3 [b] => 4 ) )