3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(1, 2, 3); $b = array(1, 4, 5); $c = array_merge($a, $b); var_dump($c);
based on 3TM1K
Output for 5.3.19 - 7.2.0
array(6) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(1) [4]=> int(4) [5]=> int(5) }