<?php class A { 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.