I have array like this:
['firstTest' => ['secondTest' => 'x', 'thirdTest' => 'y'], 'fourthTest => 'z'];
I would like to create array like this:
['firstTest.secondTest' => 'x', 'firstTest.thirdTest' => 'y', 'fourthTest' => 'z']
I need to do it with PHP.
My array is also nested with 5-10 times.