文字

TokyoTyrantIterator::key

(PECL tokyo_tyrant >= 0.2.0)

TokyoTyrantIterator::keyReturns the current key

说明

public mixed TokyoTyrantIterator::key ( void )

Returns the current key.

参数

此函数没有参数。

返回值

Returns the current key on success and false on failure.

参见

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