|
SplObjectStorage::getInfoReturns the data associated with the current iterator entry Description
public mixed SplObjectStorage::getInfo
( void
)
Returns the data, or info, associated with the object pointed by the current iterator position. ParametersThis function has no parameters. Return ValuesThe data associated with the current iterator position. Examples
Example #1 SplObjectStorage::getInfo 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
|