<?php//PHP 中没有结构体class Point { public $x, $y;}$p1 = new Point();$x1 = $p1->x;//x1 is nullecho $x1 == null;