English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

PHP SimpleXML Functions

The SimpleXML extension functions provide a toolkit for converting XML to objects. These objects handle standard attribute selectors and array iterators.

Installation

By default, this extension is enabled. The default command line to disable it at compile time is --disable-simplexml

Runtime configuration

There are no configuration instructions defined for this extension name in php.ini.

List of functions

Version-Represents the earliest version of PHP that supports this feature.

NumberFunctionDescriptionVersion
1simplexml_import_dom()Returns a SimpleXMLElement object from a DOM node5
2simplexml_load_file()It is used to convert simple XML files to SimpleXMLElement objects.5
3simplexml_load_string()It is used to convert formatted XML strings to SimpleXMLElement objects.5