ReflectionClass::isIterable

(PHP 7 >= 7.2.0)

ReflectionClass::isIterableCheck whether this class is iterable

Descrição

public ReflectionClass::isIterable ( void ) : bool

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

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