SimpleXMLIterator::nextMove to next element Description
public void SimpleXMLIterator::next
( void
)
This method moves the SimpleXMLIterator to the next element. ParametersThis function has no parameters. Return ValuesNo value is returned. Examples
Example #1 Move to the next element
<?phpThe above example will output:
object(SimpleXMLIterator)#2 (1) {
[0]=>
string(10) "XML basics"
}
|