php 调试

最简单的:

echo "<pre>";

print_r('$abc');//数组

exit;

//错误日志

error_log("You messed up!", 3, "12345.txt");

原文地址:https://www.cnblogs.com/lemonphp/p/5294692.html