SimpleXMLIterator::validCheck whether the current element is valid Description
public bool SimpleXMLIterator::valid
( void
)
This method checks if the current element is valid after calls to SimpleXMLIterator::rewind or SimpleXMLIterator::next. ParametersThis function has no parameters. Return Values
Returns Examples
Example #1 Check whether the current element is valid
<?php |