PHP - SimpleXML Functions
The SimpleXML extension functions are provides the toolset to convert XML to an object. Those objects deals with normal property selectors and array iterators.
Installation
This extension enable by default. Default command line for disable at compile time is --disable-simplexml
Runtime Configuration
This extension has no configuration directives defined in php.ini.
List of Functions
PHP − indicates the earliest version of PHP that supports the function.
Sr.No | Function & Description | PHP |
---|---|---|
1 | simplexml_import_dom
Returns a SimpleXMLElement object from a DOM node |
5 |
2 | simplexml_load_file
It used to converts simple xml file into a SimpleXMLElement object. |
5 |
3 | simplexml_load_string
It used to converts formatted xml string into a SimpleXMLElement object. |
5 |