<?php class Foo { const BAR = 'FOOBAR'; function get_bar() { return self::BAR; } } $test = new Foo(); var_dump($test->get_bar());
You have javascript disabled. You will not be able to edit any code.