PHP array_merge vs plus union Operator

The purpose of this post is simple: I’ve seen way too many uses of array_merge function with associative arrays in PHP. In most cases the “+” union operator should have been used and here’s why. Given: The result is as follows: array (   ‘abcd’ => ‘value 1’,   0 => ‘value 2’, ) array […]