编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 迭代器 arrayiterator 类php 迭代器 the cachingiterator classphp 迭代器 the filesystemiterator classphp 迭代器 the filteriterator classphp 迭代器 the infiniteiterator classphp 迭代器 the recursivecachingiterator classphp 迭代器 the recursivecallbackfilteriterator classphp 迭代器 the recursivedirectoryiterator classphp 迭代器 the recursivefilteriterator classphp 迭代器 the recursiveiteratoriterator classphp fann 函数 返回衰退值,用于在 quickprop 训练迭代时衰减权重php spl 函数 为迭代器中每个元素调用一个用户自定义函数php spl 函数 计算迭代器中元素的个数php spl 函数 将迭代器中的元素拷贝到数组php 生成器 重置迭代器php 生成器 检查迭代器是否被关闭php spl 迭代器
关注编程学问公众号
编程学问网 湘ICP备20001732号