<?php interface Lol { const TEST = 'Lol'; } class Foo { const TEST = 'Foo'; } class Bar {} var_dump((new Foo())::TEST); var_dump((new Bar())::TEST);
You have javascript disabled. You will not be able to edit any code.