PHP开启页面报错的代码

PHP开启页面报错的方法很简单,在<?php内加入下面的代码就可以了:

<?php
ini_set("display_errors", "On");
error_reporting(E_ALL | E_STRICT);
?>

插入在页面顶部就可以了。

posted on 2016-12-09 18:30  coding之路===  阅读(984)  评论(0编辑  收藏  举报

导航