I have an object that I need to convert to an array, how can I do this?
Array
(
[0] => stdClass Object
(
...
I have an object that I need to convert to an array, how can I do this?
Array
(
[0] => stdClass Object
(
...
Cast your object to an array:
$array[0] = (array) $array[0];
This is obviously not taking into account any more details than what you posted :P