编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « APCIterator::getTotalSize
  • APCIterator::next »
  • PHP Manual
  • APCIterator
  • 获取迭代器的键

APCIterator::key

(PECL apc >= 3.1.1)

APCIterator::key — 获取迭代器的键

说明

public APCIterator::key ( void ) : string

获取当前迭代器的键。

参数

此函数没有参数。

返回值

成功时返回一个键,失败时返回 FALSE。

参见

  • APCIterator::current() - 获取当前项
  • Iterator::key() - 返回当前元素的键
相关文章
php apciterator 构造一个 apciterator 迭代器对象php apciterator 获取当前项php apciterator 获取总数php apciterator 获取缓存命中数php apciterator 获取迭代器的键php apciterator 倒退迭代器php 迭代器 the cachingiterator classphp 迭代器 the norewinditerator classphp 迭代器 the recursiveiteratoriterator classphp 迭代器 the recursiveregexiterator classphp 迭代器 the recursivetreeiterator classphp 迭代器 the regexiterator classphp fann 函数 返回衰退值,用于在 quickprop 训练迭代时衰减权重php spl 函数 为迭代器中每个元素调用一个用户自定义函数php spl 函数 计算迭代器中元素的个数php spl 函数 将迭代器中的元素拷贝到数组php 迭代器 返回当前元素php 迭代器 返回当前元素的键php yaf config ini 检查迭代器是否有效php yaf config simple 检查迭代器是否有效
关注编程学问公众号
编程学问网 湘ICP备20001732号