Lets say you are having a user provide information.
Array 1
But not all is required. So you have defaults.
Array 2
array_merge() is exactly what you are looking for.