SimpleXMLIterator::next
Move to next element
&reftitle.description;
public voidSimpleXMLIterator::next
This method moves the SimpleXMLIterator to the next element.
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
&return.void;
&reftitle.examples;
Move to the next element
PHP BasicsXML basics');
$xmlIterator->rewind(); // rewind to the first element
$xmlIterator->next();
var_dump($xmlIterator->current());
?>
]]>
&example.outputs;
string(10) "XML basics"
}
]]>