3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $one = array(2 => '2'); $two = array(2 => '2'); print_r(array_merge($one, $two)); print_r($one + $two); $two += $one; print_r($two);
Output for 4.3.0 - 7.2.0
Array ( [0] => 2 [1] => 2 ) Array ( [2] => 2 ) Array ( [2] => 2 )