2016-11-24 69 views

回答

0

只是看着它,它的工作原理。 ive在第3個參數(回顯)中添加了false,以便它不顯示在頁面上。您可以將結果寫入日誌文件。或者像下面的php日誌文件。

public function indexAction() { 

    $result = Zend_Debug::dump($_REQUEST,'label',false); 
    echo 'write this to log ('. $result .')'; 
    error_log($result); 

}