readonly 属性初始化只可以发生在构建函数(__construct) 里,或者类内部方法:. <?php class User { public readonly int $uid; public function __construct(int ...
確定! 回上一頁