|
SplObjectStorage::setInfoSets the data associated with the current iterator entry Description
public void SplObjectStorage::setInfo
( mixed
$data
)Associates data, or info, with the object currently pointed to by the iterator. Parameters
Return ValuesNo value is returned. Examples
Example #1 SplObjectStorage::setInfo example
<?php The above example will output something similar to: string(3) "new" string(3) "new" See Also
|