|
SplObjectStorage::currentReturns the current storage entry Beschreibung
public object SplObjectStorage::current
( void
)
Returns the current storage entry. Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteThe object at the current iterator position. Beispiele
Beispiel #1 SplObjectStorage::current example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
object(stdClass)#2 (0) {
}
string(2) "d1"
object(stdClass)#3 (0) {
}
string(2) "d2"
Siehe auch
|