Hi Marcus, what about class_constant_exists("classname", "const") (a bit long function name though)?
maybe leave of the ant ...
class_const_exists()
fits in with
class MyClass { const constant = 'constant value';
function showConstant() { echo self::constant . "\n"; } }
regards, Lukas
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php