SimpleXMLElement->__construct
Creates a new SimpleXMLElement object
&reftitle.description;
SimpleXMLElement__constructstringdataintoptionsbooldata_is_urlstringnsboolis_prefix
Creates a new SimpleXMLElement object.
&reftitle.parameters;
data
A well-formed XML string or the path or URL to an XML document if
data_is_url is &true;.
options
Optionally used to specify additional
Libxml parameters.
data_is_url
By default, data_is_url is &false;. Use &true; to
specify that data is a path or URL to an XML
document instead of string data.
nsis_prefix
&reftitle.returnvalues;
Returns a SimpleXMLElement object representing
data.
&reftitle.errors;
Produces an E_WARNING error message for each error
found in the XML data and throws an exception if errors were detected.
&reftitle.examples;
Create a SimpleXMLElement object
movie[0]->title;
?>
]]>
Create a SimpleXMLElement object from a URL
asXML();
?>
]]>
&reftitle.seealso;