<?php class Super { private $foo = 123; // Same as `private $foo = 123;` function printSuper(){ return $this->foo; } } class Child extends Super { public $foo = 456; // Same as `private $foo = 456;` function printChild(){ return $this->foo; } } $o = new Child(); echo $o->printSuper(); // 123 echo $o->printChild(); // 456
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`