1--TEST-- 2Nullable typed return without value generates friendlier error message 3--FILE-- 4<?php 5 6function test() : ?int { 7 return; 8} 9 10test(); 11 12?> 13--EXPECTF-- 14Fatal error: A function with return type must return a value (did you mean "return null;" instead of "return;"?) in %s on line %d 15