OM The Eternity OM The Eternity - 1 month ago 10
PHP Question

if $a and $b are bothe arrays the what would be the result of $a+$b?

Possible Duplicate:

+ operator for array in PHP?

are both arrays, what is the result of
$a + $b


Union of $a and $b.

The + operator appends elements of remaining keys from the right handed array to the left handed, whereas duplicated keys are NOT overwritten.