PHP中 函数的形参的类型约束 2017-08-25 本文已影响0人 你好667 说明 形参的约束 只有一些类型 数组 对象 接口 function method($a, array $b,Object $c,Interface $d) { }