Create a PHP script to merge two associative arrays and resolve key conflicts.
MediumProblem Statement
Create a PHP script to merge two associative arrays and resolve key conflicts.
Sample Input
['a' => 1] + ['a' => 2, 'b' => 3]
Sample Output
{"a":2,"b":3}Limits
Time: 2s · Memory: 256 MB