Ask a Question
Advertise on boostr.in
recursive cast from simplexmlobject to array using -'php,casting,simplexml'
recursive cast from simplexmlobject to array ¬†using -'php,casting,simplexml'
I need to recursively cast a PHP SimpleXMLObject to an array. ¬†The problem is that each sub element is also a PHP SimpleXMLElement.
Is this possible?
Sep 7, 2015
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please