2020-05-02 / 3565阅 / 悠然
Polyfill for is_iterable() function added in PHP 7.1.
Verify that the content of a variable is an array or an object implementing the Traversable interface.
(mixed)
(Required)
The value to check.
(bool) True if $var is iterable, false otherwise.