SplObjectStorage::next
Mover a la siguiente entrada
&reftitle.description;
public voidSplObjectStorage::next
Mover el iterador al siguiente object en el almacenamiento.
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
&return.void;
&reftitle.examples;
Ejemplo de SplObjectStorage::next
attach($o1, "d1");
$s->attach($o2, "d2");
$s->rewind();
while($s->valid()) {
$index = $s->key();
$object = $s->current(); // similar a current($s)
var_dump($index);
var_dump($object);
$s->next();
}
?>
]]>
&example.outputs.similar;
&reftitle.seealso;
SPLObjectStorage::rewind