文字

TokyoTyrantIterator::valid

(PECL tokyo_tyrant >= 0.2.0)

TokyoTyrantIterator::validRewinds the iterator

说明

public bool TokyoTyrantIterator::valid ( void )

Checks whether the internal pointer points to valid element.

参数

此函数没有参数。

返回值

Returns TRUE if the current item is valid and FALSE if not.

参见

  • TokyoTyrantIterator::key() - Returns the current key
  • TokyoTyrantIterator::current() - Get the current value
  • TokyoTyrantIterator::next() - Move to next key
  • TokyoTyrantIterator::rewind() - Rewinds the iterator
上一篇: 下一篇: