(PHP 5 >= 5.1.3, PHP 7, PHP 8)
The SimpleXMLIterator provides recursive iteration over all nodes of a SimpleXMLElement object.
$data
, int $options = 0
, bool $data_is_url = false
, string $ns = ""
, bool $is_prefix = false
)$name
, string $value = ?
, string $namespace = ?
) : void$name
, string $value = ?
, string $namespace = ?
) : SimpleXMLElement$ns = null
, bool $is_prefix = false
) : SimpleXMLElement$recursive = false
, bool $from_root = true
) : array