<?php class Test { private $test1; } class Test1 { public static function testing(Test $var) { $var->test1 = 'test'; var_dump($var); } } Test1::testing(new Test);
You have javascript disabled. You will not be able to edit any code.