PHP rewind() Function

PHP SimpleXML Reference : Rewind to the first element and then return it (with current())

Definition and Usage

The rewind() function rewinds to the first element.

Syntax

SimpleXMLIterator::rewind()

Technical Details

Return Value: Nothing
PHP Version: 5.0+

❮ PHP SimpleXML Reference