SimpleXMLElement::__toString Returns the string content &reftitle.description; public stringSimpleXMLElement::__toString Returns text content that is directly in this element. Does not return text content that is inside this element's children. &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; Returns the string content on success or an empty string on failure. &reftitle.examples; Get string content 1 2 3'); echo $xml; ?> ]]> &example.outputs; &reftitle.seealso; SimpleXMLElement::asXML