在线文档教程
PHP
SPL/Iterators

AppendIterator::next

AppendIterator::next

(PHP 5 >= 5.1.0, PHP 7)

AppendIterator::next — Moves to the next element

Description

public void AppendIterator::next ( void )

Moves to the next element. If this means to another Iterator then it rewinds that Iterator.

Parameters

This function has no parameters.

Return Values

No value is returned.

See Also

  • AppendIterator::current() - Gets the current value

  • AppendIterator::key() - Gets the current key

  • AppendIterator::valid() - Checks validity of the current element

  • AppendIterator::rewind() - Rewinds the Iterator

← AppendIterator::key

AppendIterator::rewind →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/appenditerator.next.php