fork download
  1. <?php
  2.  
  3. $arr1 = array(
  4. 'someKey' => [1,2,3,4,5],
  5. );
  6. $arr2 = array(
  7. 'someKey' => [6,7],
  8. );
  9.  
Success #stdin #stdout 0.02s 52472KB
stdin
Standard input is empty
stdout
array(1) {
  ["someKey"]=>
  array(7) {
    [0]=>
    int(1)
    [1]=>
    int(2)
    [2]=>
    int(3)
    [3]=>
    int(4)
    [4]=>
    int(5)
    [5]=>
    int(6)
    [6]=>
    int(7)
  }
}