<?php class A { protected function test() { return 'pass'; } } class B extends A { public function run() { return $this->test(); } } $b = new B(); var_dump($b->run());
You have javascript disabled. You will not be able to edit any code.