I\'m stepping through the source code of CodeIgniter with Xdebug in NetBeans and I\'m looking for a way to see defined constants as they are defined. If it\'s not possible,
You probably want to adapt:
$arr = get_defined_vars();