1--TEST-- 2Null can be used as a standalone type 3--FILE-- 4<?php 5 6function test(null $v): null { 7 return $v; 8} 9 10var_dump(test(null)); 11 12?> 13--EXPECT-- 14NULL 15