php8.5
Home/ Manual/ spl / arrayiterator/ ArrayIterator::getFlags

ArrayIterator::getFlags

PHP function Edit on GitHub ✎

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

Get behavior flags

Function-8-6-0

Description

ArrayIterator::getFlags(): int

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

Parameters Parameters

Return Values

Returns the behavior flags of the ArrayIterator.

Changelog

VersionDescription
8.6.0This method has been deprecated.

See Also

  • ArrayIterator::setFlags
  • ArrayIterator::valid

Source: reference/spl/arrayiterator/getflags.xml · from the official PHP manual (php/doc-en)