SimpleXMLIterator::currentReturns the current element Beschreibung
public mixed SimpleXMLIterator::current
( void
)
This method returns the current element as a SimpleXMLIterator object or Parameter-ListeDiese Funktion hat keine Parameter. Rückgabewerte
Returns the current element as a SimpleXMLIterator object or Beispiele
Beispiel #1 Return the current element
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
NULL
object(SimpleXMLIterator)#2 (1) {
[0]=>
string(10) "PHP basics"
}
Siehe auch
|