📅  最后修改于: 2022-03-11 14:53:50.437000             🧑  作者: Mango
// php8 class and construct
class Point {
public function __construct(
public float $x = 0.0,
public float $y = 0.0,
public float $z = 0.0,
) {}
}