You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The XML parser uses SimpleXML to read in the XML data, the does a JSON encode/decode to convert it to a simple array, cleaning up a few special cases in the process. This silently discards namespaced elements, due to how SimpleXML handles array conversion. More detail is available in the PHP docs, though the comment in question is a bit of a rant about how the author thinks this is a bad approach in general.
I'm getting this XML from an API call,
When I do
I just get an ampty array: []
Wondering the cause
The text was updated successfully, but these errors were encountered: