调试 - 生活之路

PHP单文件启用调试模式

为了方便测试,我们需要启用PHP调试模式 可以使用下面的代码直接启用 ini_set('display_errors', true); error_reporting(E_ALL); 开启PHP调试模式简单好用,记录一下