1--TEST--
2Explicitly nullable string type
3--FILE--
4<?php
5
6function _string_(?string $v): ?string {
7    return $v;
8}
9
10var_dump(_string_(null));
11var_dump(_string_("php"));
12?>
13--EXPECT--
14NULL
15string(3) "php"
16