diff --git a/tests/functions/return_type.php b/tests/functions/return_type.php index 401a75df4..322367b50 100644 --- a/tests/functions/return_type.php +++ b/tests/functions/return_type.php @@ -23,6 +23,8 @@ function f(int $x) : ?array } } +$arr = null; + print_r( f(0) ); print_r( f(1) ); print_r( f(2) );