|
SplObjectStorage::getInfoReturns the data associated with the current iterator entry Beschreibung
public mixed SplObjectStorage::getInfo
( void
)
Returns the data, or info, associated with the object pointed by the current iterator position. Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteThe data associated with the current iterator position. Beispiele
Beispiel #1 SplObjectStorage::getInfo 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
|