<?php class Test { private $n; public function doSomething(){ echo "Done testing{$this->n}"; } } $o1 = (new Test($a = 8))->doSomething(); var_dump($a);
You have javascript disabled. You will not be able to edit any code.