<?php interface I { const I = 'I'; } class A implements I { const A = 'A'; } class B extends A { const B = 'B'; } $r = new \ReflectionClass('B'); var_dump($r->getConstants());
You have javascript disabled. You will not be able to edit any code.