PHP - Manual: LimitIterator::key
2024-12-21
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
LimitIterator::key — Get current key
Gets the key for the current item in the inner Iterator.
此函数没有参数。
Returns the key for the current item.
官方地址:https://www.php.net/manual/en/limititerator.key.php