摘要: <?php //"php7的特性1";//"nullable(可为空类型)"; function test(): ?string //加了?说明返回类型可以为null string返回类型只能是string { return "this is a staing";} function test1() 阅读全文