]> granicus.if.org Git - php/commitdiff
Test ReflectionType support of iterable
authorAndrea Faulds <ajf@ajf.me>
Sat, 29 Apr 2017 13:37:35 +0000 (14:37 +0100)
committerAndrea Faulds <ajf@ajf.me>
Sat, 29 Apr 2017 13:37:35 +0000 (14:37 +0100)
ext/reflection/tests/ReflectionType_possible_types.phpt

index 55302242be5fa0a81b38bc4e4df1f87e00af45eb..3b486a60fdebd59d11763046bf10e5f43962a346 100644 (file)
@@ -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"