Php/docs/tokyotyrantiterator.key
来自菜鸟教程
TokyoTyrantIterator::key
(PECL tokyo_tyrant >= 0.2.0)
TokyoTyrantIterator::key — 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