APCUIterator::valid
(PECL apcu >= 5.0.0)
APCUIterator::valid — Checks if current position is valid
说明
public APCUIterator::valid(): bool
Checks if the current iterator position is valid.
参数
此函数没有参数。
返回值
Returns true
if the current iterator position is valid, otherwise false
.
参见
- APCUIterator::current() - Get current item
- Iterator::valid() - 检查当前位置是否有效

User Contributed Notes
There are no user contributed notes for this page.