Structures (records)

<?php

//In PHP there are no structures
class Point {
    public $x, $y;
}

$p1 = new Point();
$x1 = $p1->x;
//x1 is null

echo $x1 == null;