FilterIterator::key
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
FilterIterator::key — Get the current key
参数
此函数没有参数。
返回值
The current key.
参见
- FilterIterator::next() - Move the iterator forward
- FilterIterator::current() - Get the current element value
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。