com php-src: Test for void: ext/reflection/tests/ReflectionType _possible_types.phpt
| From: | Andrea Faulds | Date: | Thu, 28 Jan 2016 18:07:45 +0000 |
| Subject: | com php-src: Test for void: ext/reflection/tests/ReflectionType _possible_types.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90772@lists.php.net to get a copy of this message | ||
Commit: 1b36037689a9de28e65f2b0ebe71b80de9e36ba2
Author: Andrea Faulds <ajf@ajf.me> Thu, 28 Jan 2016 18:07:45 +0000
Parents: 8412de9da5304ca0ea287277c7e0d916e2c490be
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1b36037689a9de28e65f2b0ebe71b80de9e36ba2
Log:
Test for void
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 9f876cb..81e0855 100644
--- a/ext/reflection/tests/ReflectionType_possible_types.phpt
+++ b/ext/reflection/tests/ReflectionType_possible_types.phpt
@@ -4,6 +4,7 @@ ReflectionType possible types
<?php
$functions = [
+ function(): void {},
function(): int {},
function(): float {},
function(): string {},
@@ -20,6 +21,7 @@ foreach ($functions as $function) {
}
?>
--EXPECTF--
+string(4) "void"
string(3) "int"
string(5) "float"
string(6) "string"