<?php $a = array(1,2,3,4,5);$b = array(1,2,3,4,5); $c = array_merge($a,$b); var_dump($c);
Standard input is empty
array(10) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(1) [6]=> int(2) [7]=> int(3) [8]=> int(4) [9]=> int(5) }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!