3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = array( "a" , "b" , "c" , "d" , "e" ); $output = array_merge ( $input , $input ); var_dump($output);
based on TH4Q8
Output for 4.3.0 - 7.2.0
array(10) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> string(1) "c" [3]=> string(1) "d" [4]=> string(1) "e" [5]=> string(1) "a" [6]=> string(1) "b" [7]=> string(1) "c" [8]=> string(1) "d" [9]=> string(1) "e" }