In https://github.com/php/php-src/blob/879cd0491399ccfacac0d6ed701d998a65a6cc97/ext/reflection/php_reflection.c we can see that ReflectionClass::isIterateable() is an alias for ReflectionClass::isIterable().
(PHP 5, PHP 7, PHP 8)
ReflectionClass::isIterateable — 别名 ReflectionClass::isIterable()
别名 ReflectionClass::isIterable()
自 PHP 7.2.0 起,应该首选 RefectionClass::isIterable(),而不是拼写错误的 ReflectionClass::isIterateable()。
In https://github.com/php/php-src/blob/879cd0491399ccfacac0d6ed701d998a65a6cc97/ext/reflection/php_reflection.c we can see that ReflectionClass::isIterateable() is an alias for ReflectionClass::isIterable().