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