summaryrefslogtreecommitdiff
path: root/ext/reflection
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2017-04-29 14:37:35 +0100
committerAndrea Faulds <ajf@ajf.me>2017-04-29 14:37:35 +0100
commit753ae9b7db364fe8c087faf08cc564e54f4fe574 (patch)
treea058d7c05ec73812653fbb2713cafaf608480d66 /ext/reflection
parent9cec5e2c1d1c333dd9eff8d3879816c45f3db5ef (diff)
downloadphp-git-753ae9b7db364fe8c087faf08cc564e54f4fe574.tar.gz
Test ReflectionType support of iterable
Diffstat (limited to 'ext/reflection')
-rw-r--r--ext/reflection/tests/ReflectionType_possible_types.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/reflection/tests/ReflectionType_possible_types.phpt b/ext/reflection/tests/ReflectionType_possible_types.phpt
index 55302242be..3b486a60fd 100644
--- a/ext/reflection/tests/ReflectionType_possible_types.phpt
+++ b/ext/reflection/tests/ReflectionType_possible_types.phpt
@@ -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"