<?php class Test { public $a = 5; } class Test2 { public function getA() { return NULL; } } $test = new Test2(); var_dump($test->getA()->a ?? 'leda hovno');
You have javascript disabled. You will not be able to edit any code.