<?php class Test { const TEST = "test"; public static function doTest() { var_dump(defined('static::TEST')); } } Test::doTest();
You have javascript disabled. You will not be able to edit any code.