|
SplObjectStorage::setInfoSets the data associated with the current iterator entry Beschreibung
public void SplObjectStorage::setInfo
( mixed
$data
)Associates data, or info, with the object currently pointed to by the iterator. Parameter-Liste
RückgabewerteEs wird kein Wert zurückgegeben. Beispiele
Beispiel #1 SplObjectStorage::setInfo example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: string(3) "new" string(3) "new" Siehe auch
|