<?php//In PHP there are no structuresclass Point { public $x, $y; function __construct(int $x, int $y) { $this->x = $x; $this->y = $y; }}$p1 = new Point(1, 2);//p1.x is 1 and p1.y is 2print_r($p1);