Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ArrayIterator::getArrayCopyArrayIterator::key>
^ArrayIteratorLast updated: Mon, 26 Oct 2026

ArrayIterator::getFlags

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

ArrayIterator::getFlags — Get behavior flags

Description

public function ArrayIterator::getFlags(): int

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

Parameters

This function has no parameters.

Return Values

Returns the behavior flags of the ArrayIterator.

See Also


<ArrayIterator::getArrayCopyArrayIterator::key>
^ArrayIteratorLast updated: Mon, 26 Oct 2026