|
SplObjectStorage::currentReturns the current storage entry Description
public object SplObjectStorage::current()
Returns the current storage entry. ParametersThis function has no parameters. Return ValuesThe object at the current iterator position. Changelog
Examples
Example #1 SplObjectStorage::current example The above example will output something similar to:
object(stdClass)#2 (0) {
}
string(2) "d1"
object(stdClass)#3 (0) {
}
string(2) "d2"
See Also
|