Just in the use of fast search, produced a result of array A, which contains a quick search of the special object, can not be directly used to display the output. How can I convert it to a general array B containing ordinary object?
Thank you!
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....)
I want to get the array B look like:
Array ( [0] => StdClass Object ( Array ( [id] => 65 [message] => cool book awesome [username] => lost guy [book] => my love....[1] => StdClass Object ( Array ( [id] => 78 [message] => cool book awesome [username] => lost guy [book] => my love....)
Thank you! Thanks a lot!
Reply content:
Just in the use of fast search, produced a result of array A, which contains a quick search of the special object, can not be directly used to display the output. How can I convert it to a general array B containing ordinary object?
Thank you!
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....)
I want to get the array B look like:
Array ( [0] => StdClass Object ( Array ( [id] => 65 [message] => cool book awesome [username] => lost guy [book] => my love....[1] => StdClass Object ( Array ( [id] => 78 [message] => cool book awesome [username] => lost guy [book] => my love....)
Thank you! Thanks a lot!