phpday 2027 - Call for Papers

ArrayIterator::getFlags

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

ArrayIterator::getFlags — 振る舞いのフラグを取得する

警告

この関数は PHP 8.6.0 で 非推奨になります。この関数に頼らないことを強く推奨します。

説明

#[\Deprecated(since: '8.6')]
public function ArrayIterator::getFlags(): int

ArrayIterator の振る舞いを示すフラグを取得します。 利用可能なフラグについては、 ArrayIterator::setFlags を参照ください。

パラメータ

この関数にはパラメータはありません。

戻り値

現在のフラグを返します。

変更履歴

バージョン 説明
8.6.0 このメソッドは非推奨になりました。

参考

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top