Upcoming Critical PHP Security Release

MultipleIterator::setFlags

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

MultipleIterator::setFlags — Sets flags

Опис

public function MultipleIterator::setFlags(int $flags): void

Replaces the flags that control how the attached iterators are iterated over.

As MultipleIterator::MIT_NEED_ANY and MultipleIterator::MIT_KEYS_NUMERIC are 0, a flag that is not given falls back to them: for example, passing only MultipleIterator::MIT_KEYS_ASSOC also switches the iterator to MultipleIterator::MIT_NEED_ANY.

Значення, що повертаються

Не повертає значень.

Прогляньте також

+add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top