com php-src: Test ReflectionType support of iterable: ext/reflection/tests/ReflectionType_possible_types.phpt
| From: | Andrea Faulds | Date: | Sat, 29 Apr 2017 15:12:46 +0000 |
| Subject: | com php-src: Test ReflectionType support of iterable: ext/reflection/tests/ReflectionType_possible_types.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97731@lists.php.net to get a copy of this message | ||
Commit: 9891b9ede225b58c358372c2b7b8603c2c91ac12
Author: Andrea Faulds <ajf@ajf.me> Sat, 29 Apr 2017 14:37:35 +0100
Parents: c436fe24265573431f97a3dfde8dd4617225ac90
Branches: PHP-7.1
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9891b9ede225b58c358372c2b7b8603c2c91ac12
Log:
Test ReflectionType support of iterable
Changed paths:
M ext/reflection/tests/ReflectionType_possible_types..phpt
Diff:
diff --git a/ext/reflection/tests/ReflectionType_possible_types.phpt
b/ext/reflection/tests/ReflectionType_possible_types.phpt
index 5530224..3b486a6 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"