<?php trait T { public function __test($name) { return $this->$name; } } class Test { use T; private $test = 'asdf'; } $test = new Test(); echo $test->__test("test");
You have javascript disabled. You will not be able to edit any code.