php 调试 最简单的: echo "<pre>"; print_r('$abc');//数组 exit; //错误日志 error_log("You messed up!", 3, "12345.txt");