ArrayIterator::getFlags
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
ArrayIterator::getFlags — Get behavior flags
Warning
This function has been DEPRECATED as of PHP 8.6.0. Relying on this function is highly discouraged.
Description
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.
Changelog
| Version | Description |
|---|---|
| 8.6.0 | This method has been deprecated. |
See Also
- ArrayIterator::setFlags() - Set behaviour flags
- ArrayIterator::valid() - Check whether array contains more entries
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
