- PHP 手册
- 函数参考
- 数据库扩展
- 针对各数据库系统对应的扩展
- tokyo_tyrant
- TokyoTyrantIterator
TokyoTyrantIterator::key
(PECL tokyo_tyrant >= 0.2.0)
TokyoTyrantIterator::key — Returns the current key
说明
public TokyoTyrantIterator::key ( void ) : mixedReturns 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
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/tokyotyrantiterator.key.php