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

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

Funções SimpleXML PHP

The SimpleXML extension functions provide a toolkit for converting XML to objects. These objects handle regular 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-Indicates 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