Ver originalclass A{ function A(){ $this->b = new B; $this->c = new C; }}class B extends A{ function B(){ $this->c->d(); }}class C extends A{ function d(){ echo "asdf"; }}