$first = array('e', 'h', 'r', 'j', 'b');
$last = array('w', 'e', 'c');
$plus_union = $last + $first;
echo '';
foreach ($plus_union as $v) { echo "{$v} "; }
echo "
\n";
$union = array_unique(array_merge($first, $last));
echo '';
foreach ($union as $v) { echo "{$v} "; }
echo "
\n";
?>