SimpleXMLIterator::currentReturns the current element Description
public mixed SimpleXMLIterator::current
( void
)
This method returns the current element as a SimpleXMLIterator object or ParametersThis function has no parameters. Return Values
Returns the current element as a SimpleXMLIterator object or Examples
Example #1 Return the current element
<?php The above example will output: NULL object(SimpleXMLIterator)#2 (1) { [0]=> string(10) "PHP basics" } See Also
|