(PHP 5 >= 5.1.3, PHP 7, PHP 8)
SimpleXMLIterator は、SimpleXMLElement オブジェクトのすべてのノードに対する再帰的な反復処理を提供します。
$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バージョン | 説明 |
---|---|
8.0.0 | イテレータのメソッド (SimpleXMLIterator::hasChildren(), SimpleXMLIterator::getChildren(), SimpleXMLIterator::current(), SimpleXMLIterator::key(), SimpleXMLIterator::next(),SimpleXMLIterator::rewind(), SimpleXMLIterator::valid()) は、SimpleXMLElement に移動しました。 |
8.0.0 | SimpleXMLIterator は、 Stringable を新たに実装しました。 |