<?php class Test { private $x = 123; public function printX($test) { print $test->x; } } $test1 = new Test; $test2 = new Test; $test1->printX($test2);
You have javascript disabled. You will not be able to edit any code.