array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'class.simplexmliterator.php', 1 => 'SimpleXMLIterator', ), 'up' => array ( 0 => 'book.simplexml.php', 1 => 'SimpleXML', ), 'prev' => array ( 0 => 'simplexmlelement.xpath.php', 1 => 'SimpleXMLElement::xpath', ), 'next' => array ( 0 => 'ref.simplexml.php', 1 => 'Fonctions SimpleXML', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/simplexml/simplexmliterator.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(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.
$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
): ?SimpleXMLElementVersion | Description |
---|---|
8.0.0 | Les méthodes d'itération (SimpleXMLIterator::hasChildren(), SimpleXMLIterator::getChildren(), SimpleXMLIterator::current(), SimpleXMLIterator::key(), SimpleXMLIterator::next(),SimpleXMLIterator::rewind(), SimpleXMLIterator::valid()) ont été déplacées vers SimpleXMLElement. |
8.0.0 | La classe SimpleXMLIterator implémente désormais Stringable. |