Home > php教程 > PHP源码 > PHP displays error message

PHP displays error message

PHP中文网
Release: 2016-08-20 08:47:19
Original
1157 people have browsed it


ini_set('display_errors',1);            //错误信息 

//开启PHP错误信息,不需要php.ini支持
ini_set('display_startup_errors',1);    //php启动错误信息 

error_reporting(-1);                    //打印出所有的 错误信息
Copy after login

                   

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template