PHP » GoLang |
login |
register |
about
|
GoLang SplObjectStorage::offsetGet
request it (360)
GoLang replacement for PHP's SplObjectStorage::offsetGet
[edit | history]
PHP SplObjectStorage::offsetGetPHP original manual for SplObjectStorage::offsetGet [ show | php.net ]SplObjectStorage::offsetGet(PHP 5 >= 5.3.0, PHP 7) SplObjectStorage::offsetGet — Returns the data associated with an object DescriptionReturns the data associated with an object in the storage. Return ValuesThe data previously associated with the object in the storage. Errors/Exceptions
Throws UnexpectedValueException when Examples
Example #1 SplObjectStorage::offsetGet() example
<?php The above example will output something similar to: string(5) "hello" NULL See Also
|
more
Recently updated
more
Most requested
more
Last requests
|