Skip to content

Commit

Permalink
Test for void
Browse files Browse the repository at this point in the history
  • Loading branch information
hikari-no-yume committed Jan 28, 2016
1 parent 8412de9 commit 1b36037
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/reflection/tests/ReflectionType_possible_types.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ReflectionType possible types
<?php

$functions = [
function(): void {},
function(): int {},
function(): float {},
function(): string {},
Expand All @@ -20,6 +21,7 @@ foreach ($functions as $function) {
}
?>
--EXPECTF--
string(4) "void"
string(3) "int"
string(5) "float"
string(6) "string"
Expand Down

0 comments on commit 1b36037

Please sign in to comment.