} } class K extends H { function K() { print "In K::K()\n"; } function __construct() { print "In K::__construct()\n"; } } $c = new C(); $c->__construct(); $c->sMeth(); $c = new D(); $c->D(); $c = new E(); $c->E(); $c->__construct(); $c = new F(); $c->__construct(); $c = new G(); $c->D(); $c = new H(); $c->E(); $c->__construct(); $c = new I(); $c->__construct(); $c = new J();
function __construct() { print "In C::__construct()\n"; C::sMeth(); }