php8 联合类型 Union types

PHP 8 以前的Type Hinting,只支持使用一个具体的Type,比如: function sample(array $data) { var_dump...

最新推荐