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