PHP » GoLang |
login |
register |
about
|
GoLang SplObjectStorage::current
request it (359)
GoLang replacement for PHP's SplObjectStorage::current
[edit | history]
SplObjectStorage::current(PHP 5 >= 5.1.0, PHP 7) SplObjectStorage::current — Returns the current storage entry Description
public object SplObjectStorage::current
( void
)
Returns the current storage entry. ParametersThis function has no parameters. Return ValuesThe object at the current iterator position. Examples
Example #1 SplObjectStorage::current() example
<?php The above example will output something similar to: object(stdClass)#2 (0) { } string(2) "d1" object(stdClass)#3 (0) { } string(2) "d2" See Also
|
more
Recently updated
more
Most requested
more
Last requests
|