Php/docs/filteriterator.key
来自菜鸟教程
FilterIterator::key
(PHP 5 >= 5.1.0, PHP 7)
FilterIterator::key — Get the current key
参数
此函数没有参数。
返回值
The current key.
参见
- FilterIterator::next() - Move the iterator forward
- FilterIterator::current() - Get the current element value