在线文档教程
PHP
SPL/Iterators

AppendIterator::rewind

AppendIterator::rewind

(PHP 5 >= 5.1.0, PHP 7)

AppendIterator::rewind — Rewinds the Iterator

Description

public void AppendIterator::rewind ( void )

Rewind to the first element of the first inner Iterator.

Parameters

This function has no parameters.

Return Values

No value is returned.

See Also

  • Iterator::rewind() - Rewind the Iterator to the first element

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

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

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

← AppendIterator::next

AppendIterator::valid →

© 1997–2017 The PHP Documentation Group

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

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