EDIT:
THIS QUESTION hasnt' been already asked, so, before CLOSING, read it at first.
question:
there are 3 possible variations:
define('my_constant', 'something');
// or
define('my_constant', '');
// or
'my_constant' not defined at all
is there shortest way, rather than:
if (defined('my_constant') && my_constant!='')
p.s. if(!empty(my_constant))
throws error if not defined..