If you wrote some PHP, most likely you have used
array_merge here and there for your arrays. You may have met
array_replace function, introduced in PHP5.3. Finally, you could notice
+ operator (aka union).
Since all 3 do similar thing, and the docs don’t quite describe the difference between them, here’s a nice image of it