摘要: 1、PHP declare 之 strict_types=1 作用:开启严格模式.默认是弱类型校验 <?php declare(strict_types=1); function foo():int{ return 1.11; } echo foo(); 开启就会报错,没开启返回1 2、 PHP 接 阅读全文
posted @ 2020-10-23 15:41 Loading~ 阅读(86) 评论(0) 推荐(0) 编辑