I have a multidimensional array as shown below
Array
(
[0] => Array
(
[0] => stdClass Object
(
[id] => 237
)
[1] => stdClass Object
(
[id] => 228
)
)
[1] => Array
(
[0] => stdClass Object
(
[id] => 247
)
[1] => stdClass Object
(
[id] => 238
)
)
)
I want to convert into single array as shown below
Array
(
[0] => stdClass Object
(
[id] => 237
)
[1] => stdClass Object
(
[id] => 228
)
[2] => stdClass Object
(
[id] => 247
)
[3] => stdClass Object
(
[id] => 238
)
)
I have tried with the following solution Convert multidimensional array into single array
But the result am not getting Its Coming Null
How to get the desired result for the above input.
Any help appreciated.