<?php class test { private $test = 5; } $out = (function () : int { return $this->test; })->call(new test); var_dump($out);
You have javascript disabled. You will not be able to edit any code.