1--TEST-- 2Returned nothing, expected array 3--FILE-- 4<?php 5function test1() : array { 6} 7 8test1(); 9?> 10--EXPECTF-- 11Fatal error: Uncaught TypeError: test1(): Return value must be of type array, none returned in %s:%d 12Stack trace: 13#0 %s(%d): test1() 14#1 {main} 15 thrown in %s on line %d 16