function test(int $param):string{// arrat int return ['asdas'];//报错,正确:return 'a string'} print_r(test(1));