SimpleXMLElement does not require var_dump or print_r to understand it, but reading the manual: Basic SimpleXML usage because it's so simple that it's so magic, that print_r and var_dump don't show you the picture unless you've fully understood how print_r and var_dump work (or better say: not work) with SimpleXMLElement.
(string) $xml->Titlevar_dumporprint_rto understand it, but reading the manual: Basic SimpleXML usage because it's so simple that it's so magic, thatprint_randvar_dumpdon't show you the picture unless you've fully understood howprint_randvar_dumpwork (or better say: not work) with SimpleXMLElement.