php-debug log 发表于 2019-06-23 分类于 Language 阅读次数: 本文字数: 706 阅读时长 ≈ 1 分钟 php-console 这个专门调试 php 的。下载源代码,包含 src\PhpConsole\ include_once "PhpConsole/__autoload.php";$handler = PhpConsole\Handler::getInstance();/* You can override default Handler behavior:$handler->setHandleErrors(false); // disable errors handling$handler->setHandleExceptions(false); // disable exceptions handling$handler->setCallOldHandlers(false); // disable passing errors & exceptions to prviously defined handlers */$handler->start(); // initialize handlers//$handler->debug('called from handler debug', 'some.three.tags');//$array = array(// 'test' => 1,// 'test2' => 1,// 'key' => array(// 1, 2, 3, 4,// ),//);//$handler->debug($array, 'test.wiki.wade.zhan');