<?php class A { const FOO = 1; } class B extends A { const FOO = 2; } class C extends B { const FOO = 3; } var_dump(A::FOO); var_dump(B::FOO); var_dump(C::FOO);
You have javascript disabled. You will not be able to edit any code.