|
SimpleXMLElement::validCheck whether the current element is valid Description
public bool SimpleXMLElement::valid()
Warning
Prior to PHP 8.0, SimpleXMLElement::valid was only declared on the subclass SimpleXMLIterator. This method checks if the current element is valid after calls to SimpleXMLElement::rewind or SimpleXMLElement::next. ParametersThis function has no parameters. Return Values
Returns Examples
Example #1 Check whether the current element is valid
|