|
SplObjectStorage::offsetGetReturns the data associated with an object Descriptionpublic mixed SplObjectStorage::offsetGet(object
$object )Returns the data associated with an object in the storage. Parameters
Return ValuesThe data previously associated with the object in the storage. Errors/Exceptions
Throws UnexpectedValueException when Examples
Example #1 SplObjectStorage::offsetGet example
The above example will output something similar to: string(5) "hello" NULL See Also
|