1--TEST-- 2Typed null|false return without value generates compile-time error 3--FILE-- 4<?php 5 6function test() : null|false { 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