3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $color = array( 0 => 'red', 1 => 'green', 'a' => 'blue', ); $size = array( 0 => 'small', 1 => 'middle', 'b' => 'large', ); print_r($color + $size); ?>
based on g28WK
Output for 4.3.0 - 7.1.0
Array ( [0] => red [1] => green [a] => blue [b] => large )