Dutch PHP Conference 2019

ReflectionClass::isIterable

(PHP 7 >= 7.2.0)

ReflectionClass::isIterableCheck whether this class is iterable

说明

public bool ReflectionClass::isIterable ( void )

参数

此函数没有参数。

返回值

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

add a note add a note

User Contributed Notes

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