Start PHP Code RESULT
$first array:
a
b
c
$second array:
1
2
3
Merged $third array:
a
b
c
1
2
3
End PHP Code RESULT
The PHP Code START
$first = array("a","b","c");
print "\$first array: <br />";

foreach ($first as $val) {
    print "$val<br />";
}

$second= array(1,2,3);
print "\$second array: <br />";

foreach ($second as $val) {
    print "$val<br />";
}

$third = array_merge($first, $second);
print "Merged \$third array: <br />";

foreach ($third as $val) {
    print "$val<br />";
}
The PHP Code END