<?php class Bar { } class Foo { public Bar $b; } $f = new Foo(); $x = $f->b ?? null;
You have javascript disabled. You will not be able to edit any code.