1--TEST--
2public bool ReflectionParameter::isArray ( void );
3--CREDITS--
4marcosptf - <marcosptf@yahoo.com.br> - @phpsp - sao paulo - br
5--FILE--
6<?php
7
8function testReflectionIsArray(array $a, ?array $b, iterable $c, array|string $d) {}
9
10$reflection = new ReflectionFunction('testReflectionIsArray');
11
12foreach ($reflection->getParameters() as $parameter) {
13    var_dump($parameter->isArray());
14}
15?>
16--EXPECTF--
17Deprecated: Method ReflectionParameter::isArray() is deprecated since 8.0, use ReflectionParameter::getType() instead in %s on line %d
18bool(true)
19
20Deprecated: Method ReflectionParameter::isArray() is deprecated since 8.0, use ReflectionParameter::getType() instead in %s on line %d
21bool(true)
22
23Deprecated: Method ReflectionParameter::isArray() is deprecated since 8.0, use ReflectionParameter::getType() instead in %s on line %d
24bool(false)
25
26Deprecated: Method ReflectionParameter::isArray() is deprecated since 8.0, use ReflectionParameter::getType() instead in %s on line %d
27bool(false)
28