<?php class Foo { const EXAMPLE = OTHER_CONST; } var_dump(class_exists('Foo')); define('OTHER_CONST', 'some value'); echo Foo::EXAMPLE;
You have javascript disabled. You will not be able to edit any code.