Question:
i want to create dynamic json array.i am using this array :
But now i have to take some of them in this array. For example i have to use key3 and key5 and rebuild my json array.
Answer:
You can use array_intersect_key:If you have better answer, please add a comment about this, thank you!