<?php class Base { protected $foo = 'Base'; } class Other extends Base { public function __construct() { $this->foo = 'Other'; } } class Child extends Base { public function bar() { $otherBase = new Other(); echo $otherBase->foo; } } $child = new Child(); $child->bar();
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`