PHP » GoLang |
login |
register |
about
|
GoLang SplObjectStorage::attach
request it (386)
GoLang replacement for PHP's SplObjectStorage::attach
[edit | history]
SplObjectStorage::attach(PHP 5 >= 5.1.0, PHP 7) SplObjectStorage::attach — Adds an object in the storage DescriptionAdds an object inside the storage, and optionally associate it to some data. Return ValuesNo value is returned. Examples
Example #1 SplObjectStorage::attach() example
<?php The above example will output something similar to: NULL string(5) "hello" Changelog
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|