|
SimpleXMLElement::__toStringReturns the string content Description
public string SimpleXMLElement::__toString
( void
)
Returns text content that is directly in this element. Does not return text content that is inside this element's children. ParametersThis function has no parameters. Return ValuesReturns the string content on success or an empty string on failure. Examples
Example #1 Get string content
<?php The above example will output: 1 3 See Also
|