|
SplObjectStorage::offsetGetReturns the data associated with an object Beschreibung
public mixed SplObjectStorage::offsetGet
( object
$object
)Returns the data associated with an object in the storage. Parameter-Liste
RückgabewerteThe data previously associated with the object in the storage. Fehler/Exceptions
Throws UnexpectedValueException when Beispiele
Beispiel #1 SplObjectStorage::offsetGet example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: string(5) "hello" NULL Siehe auch
|