Merge PHP Arrays and Keep Keys Intact
In lots of cases I use array_merge to merge two arrays together to form a bigger array from the two, and this function works fine if you don’t need worry about the keys. However, this function will cause bugs that are hard to find if keys are important, as it …