APCUIterator::valid
(PECL apcu >= 5.0.0)
APCUIterator::valid — Checks if current position is valid
说明
public
APCUIterator::valid (
void ) :
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() - 检查当前位置是否有效