php _ _ costrutto
public function __construct(){}
php 8 costruttore
class Point {
public function __construct(
public float $x = 0.0,
public float $y = 0.0,
public float $z = 0.0,
) {}
}
costruttore php
__construct ([ mixed $args = "" [, $... ]] ) : void