|
SimpleXMLElement::nextMove to next element Description
public void SimpleXMLElement::next()
Warning
Prior to PHP 8.0, SimpleXMLElement::next was only declared on the subclass SimpleXMLIterator. This method moves the SimpleXMLElement to the next element. ParametersThis function has no parameters. Return ValuesNo value is returned. Examples
Example #1 Move to the next element The above example will output:
object(SimpleXMLElement)#2 (1) {
[0]=>
string(10) "XML basics"
}
|