ReflectionClass::isIterable

(PHP 7 >= 7.2.0)

ReflectionClass::isIterableCheck whether this class is iterable

説明

public ReflectionClass::isIterable ( void ) : bool

パラメータ

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

返り値

Returns TRUE if this class is iterable (can be used inside foreach), FALSE otherwise.