summaryrefslogtreecommitdiff
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 16:12:46 +0100
commit9891b9ede225b58c358372c2b7b8603c2c91ac12 (patch)
treebbb482edcd3068af4a03352938c583c22d603dbb
parentc436fe24265573431f97a3dfde8dd4617225ac90 (diff)
downloadphp-git-9891b9ede225b58c358372c2b7b8603c2c91ac12.tar.gz
Test ReflectionType support of iterable
-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"