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