<?php class Foo { const BAR = 'baz'; public static function test() { echo constant('self::BAR'); } } Foo::test();
You have javascript disabled. You will not be able to edit any code.