How to match keys from one array to another, and return keys from the other [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 11 months ago . Improve this question I have 2 arrays, I would like to use the keys from the 1st array to search for matched keys from the 2nd array and return those keys from the 2nd array with the values of the second array. expected result: Array ( 'Intermediary/contract/{contract:id}/bank