fork download
  1. <?php
  2.  
  3. $a = array(1,2,3,4,5);
  4. $b = array(1,2,3,4,5);
  5.  
  6. $c = array_merge($a,$b);
  7.  
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
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)
}