I have created two functions in php both the function returning an array I want to merge both the array and return a JSON : I have created two functions in PHP both the function returning an array I want to merge both the array and return a JSON.

Thanks!
Regards,
Jitender