code: protected function dumpConstants($constants)
      {
          $str = '';
          if ($constants && $this->debug->output->getCfg('outputConstants')) {
              $str = '<dt class="constants">constants</dt>'."\n";
              foreach ($constants as $k => $value) {
                  $str .= '<dd class="constant">'
                      .'<span class="constant-name">'.$k.'</span>'
                      .' <span class="t_operator">=</span> '
                      .$this->debug->output->html->dump($value)
                      .'</dd>'."\n";
              }
          }
          return $str;
      }
docs: dump object constants as html
  
  @param array $constants array of name=>value
  
  @return string html