Other way to merge config parameters

I suggest using array_replace_recursive instead or array_merge. In this way, we will able to merge default and specific/ini configuration. If a key exists in the specific/ini array, the value will be injected in the final array.