parent::func() undefined


I've got an object that's been extended many times. The original definition of func() is in the top-level superclass. Latest EAP is showing that a call to parent::func() several subclasses down as undefined.


class ClassA { public function func() {} }
class ClassB extends ClassA {}
class ClassC extends ClassB {}
class ClassD extends ClassC {}
class ClassE extends ClassD { public function func () { parent::func(); } } // func() is undefined here


Code executes fine.

1 comment
Comment actions Permalink

I can't reproduce problem on EAP 94.430


Please sign in to leave a comment.