<?php class Example { private $foo = 'bar'; protected function getFoo() { return $this->foo; } } $example = new Example(); var_dump($example->getFoo());
You have javascript disabled. You will not be able to edit any code.