<?php class Test { private $notPublic = "hello"; public function myMethod() { return $this->notPublic; } } $test = new Test(); var_dump($test->myMethod());
You have javascript disabled. You will not be able to edit any code.