Get behavior flags

# ArrayIterator::getFlags

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

ArrayIterator::getFlags — Get behavior flags

### 说明

public function ArrayIterator::getFlags(): int

Gets the behavior flags of the ArrayIterator. See the ArrayIterator::setFlags method for a list of the available flags.

### 参数

此函数没有参数。

### 返回值

Returns the behavior flags of the ArrayIterator.

### 参见

- ArrayIterator::setFlags() - Set behaviour flags
- ArrayIterator::valid() - Check whether array contains more entries

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open