(PHP 7 >= 7.2.0)
ReflectionClass::isIterable — Check whether this class is iterable
此函数没有参数。
Returns TRUE if this class is iterable (can be used inside foreach), FALSE otherwise.
TRUE
FALSE