(PHP 5 >= 5.1.3, PHP 7, PHP 8)
The SimpleXMLIterator provides recursive iteration over all nodes of a SimpleXMLElement object.
$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
版本 | 说明 |
---|---|
8.0.0 | SimpleXMLIterator implements Stringable now. |