PHP get overridden methods from child class

Posted by Joseph Mastey on Stack Overflow See other posts from Stack Overflow or by Joseph Mastey
Published on 2010-04-19T16:19:43Z Indexed on 2010/04/19 16:23 UTC
Read the original article Hit count: 355

Filed under:
|

Given the following case:

<?php

class ParentClass {

    public $attrA;
    public $attrB;
    public $attrC;

    public function methodA() {}
    public function methodB() {}
    public function methodC() {}

}

class ChildClass {

    public $attrB;

    public function methodA() {}
}

How can I get a list of methods (and preferably class vars) that are overridden in ChildClass?

Thanks, Joe

© Stack Overflow or respective owner

Related posts about php

Related posts about reflection