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