I'm working with an search indexer and get my search result from the indexer as an array A that contains multiple objects. These objects were special objects generated from the indexer and cannot be used for output purposes. Is there a way to convert it into an array $B that contains standard PHP ojbects? Thanks!
Array A:
Array ( [0] => XSDocument Object ( [_data:XSDocument:private] => Array ( [id] => 65 [message] => cool book awesome [username] => lost guy [book] => my love....
[1] => XSDocument Object ( [_data:XSDocument:private] => Array ( [id] => 78 [message] => cool book awesome [username] => lost guy [book] => my love....)
Thanks a lot!