<?php abstract class Pisa { protected $_object = 'Pisa'; } class Child1 extends Pisa { function __construct() { $e = new Child2(); var_dump($e->_object); } } class Child2 extends Pisa { } new Child1();
You have javascript disabled. You will not be able to edit any code.