1--TEST-- 2Typed return without value generates compile-time error 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 in %s on line %d 15