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