--TEST-- public bool ReflectionParameter::isArray ( void ); --CREDITS-- marcosptf - - @phpsp - sao paulo - br --FILE-- getParameters() as $parameter) { var_dump($parameter->isArray()); } ?> --EXPECTF-- Deprecated: Method ReflectionParameter::isArray() is deprecated since 8.0, use ReflectionParameter::getType() instead in %s on line %d bool(true) Deprecated: Method ReflectionParameter::isArray() is deprecated since 8.0, use ReflectionParameter::getType() instead in %s on line %d bool(true) Deprecated: Method ReflectionParameter::isArray() is deprecated since 8.0, use ReflectionParameter::getType() instead in %s on line %d bool(false) Deprecated: Method ReflectionParameter::isArray() is deprecated since 8.0, use ReflectionParameter::getType() instead in %s on line %d bool(false)