summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/rfc002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/rfc002.phpt')
-rw-r--r--Zend/tests/return_types/rfc002.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/tests/return_types/rfc002.phpt b/Zend/tests/return_types/rfc002.phpt
index d7c7d28fd0..2f3ff02b1c 100644
--- a/Zend/tests/return_types/rfc002.phpt
+++ b/Zend/tests/return_types/rfc002.phpt
@@ -1,5 +1,6 @@
--TEST--
RFC example: Scalar Types
+
--FILE--
<?php
function answer(): int {
@@ -7,5 +8,6 @@ function answer(): int {
}
var_dump(answer());
+
--EXPECTF--
int(42)