<?php $f = new class { public function bar(int $a) { print $a . PHP_EOL; } }; $res = $f?->bar(5); $c = $f?->bar(?); $c(4); $g = null; $d = $g?->bar(?); $d(3);
You have javascript disabled. You will not be able to edit any code.