报错:
Class 'XHProfRuns_Default' not found
说明你没有按测试用例引用对应的lib~
需要拷贝源码里的xhprof_lib过去并引用,示例:
include_once $XHPROF_ROOT . "/xhprof_lib/utils/xhprof_lib.php";
include_once $XHPROF_ROOT . "/xhprof_lib/utils/xhprof_runs.php";
未经允许不得转载:阿藏博客 » Class ‘XHProfRuns_Default’ not found 解决办法