(PHP 5 >= 5.1.3, PHP 7, PHP 8)
The SimpleXMLIterator provides recursive iteration over all nodes of a SimpleXMLElement object.
$data
,$options
= 0,$dataIsURL
= false
,$namespaceOrPrefix
= "",$isPrefix
= false
$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|false