zend framework firephp 调试函数


 
  function showVarInfo($var)
{
   $logger = new Zend_Log ();
  $writer = new Zend_Log_Writer_Firebug ();
  $logger->addWriter($writer);
  $GLOBALS ['firephp'] = $logger;
  $GLOBALS ['firephp']->log($var, Zend_Log::INFO); 
}
 






你可能感兴趣的:(java,Firebug,Zend)