3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = ['x' => 5]; $b = ['y' => 7]; print_r($a + $b); $a = [1,2]; $b = [3,4]; print_r($a + $b);
Output for 7.1.25 - 7.3.5
Array ( [x] => 5 [y] => 7 ) Array ( [0] => 1 [1] => 2 )