This is the output of print_r() run on a typical SimpleXMLElement object:
print_r()
SimpleXMLElement Object ( [@attributes] => Array ( ) )
What does the @ sign mean?
This is a SimpleXMLElement object. The '@attributes' row is an internal representation of the attributes from the XML element. Use SimpleXML's functions to get data from this object rather than interacting with it directly.
1.4m articles
1.4m replys
5 comments
57.0k users