|
SplObjectStorage::currentReturns 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
|