AllowDynamicProperties » « Attribute PHP 手册 语言参考 预定义注解 Attribute Attribute::__construct (PHP 8)Attribute::__construct — 构造新的 Attribute 实例 说明 public Attribute::__construct(int $flags = Attribute::TARGET_ALL) 构造新的 Attribute 实例。 参数 flags 发现了问题? 了解如何改进此页面 • 提交拉取请求 • 报告一个错误 +添加备注 用户贡献的备注 此页面尚无用户贡献的备注。 备份地址:http://www.lvesu.com/blog/php/attribute.construct.php