(PHP 5 >= 5.1.3, PHP 7, PHP 8)
La classe SimpleXMLIterator fournit des itérations récursives sur tous les éléments d'un objet SimpleXMLElement.
$qualifiedName
, string $value
, ?string $namespace
= null
): void$qualifiedName
, ?string $value
= null
, ?string $namespace
= null
): ?SimpleXMLElement$namespaceOrPrefix
= null
, bool $isPrefix
= false
): ?SimpleXMLElement$namespaceOrPrefix
= null
, bool $isPrefix
= false
): ?SimpleXMLElement$recursive
= false
, bool $fromRoot
= true
): array|falseVersion | Description |
---|---|
8.0.0 | La classe SimpleXMLIterator implémente désormais Stringable. |