📜  php8 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:50.437000             🧑  作者: Mango

代码示例2
// php8 class and construct
class Point {
  public function __construct(
    public float $x = 0.0,
    public float $y = 0.0,
    public float $z = 0.0,
  ) {}
}