mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Test ReflectionType support of iterable
This commit is contained in:
parent
9cec5e2c1d
commit
753ae9b7db
@ -11,6 +11,7 @@ $functions = [
|
||||
function(): bool {},
|
||||
function(): array {},
|
||||
function(): callable {},
|
||||
function(): iterable {},
|
||||
function(): StdClass {}
|
||||
];
|
||||
|
||||
@ -28,4 +29,5 @@ string(6) "string"
|
||||
string(4) "bool"
|
||||
string(5) "array"
|
||||
string(8) "callable"
|
||||
string(8) "iterable"
|
||||
string(8) "StdClass"
|
||||
|
Loading…
Reference in New Issue
Block a user