(PHP 5, PHP 7, PHP 8)
Representa un elemento del documento XML.
$data,$options = 0,$dataIsURL = false,$namespaceOrPrefix = "",$isPrefix = false$qualifiedName, ?string $value = null, ?string $namespace = null): ?SimpleXMLElement$namespaceOrPrefix = null, bool $isPrefix = false): ?SimpleXMLElement| Versión | Descripción |
|---|---|
| 8.4.0 | Los métodos get (como SimpleXMLElement::asXML() o SimpleXMLElement::getName()) y convertir un SimpleXMLElement a string ya no rebobinan implícitamente el iterador. El iterador debe ahora ser rebobinado explícitamente, usando SimpleXMLElement::rewind(), cuando sea necesario. |
| 8.0.0 | La clase SimpleXMLElement implementa ahora Stringable, Countable y RecursiveIterator. |