Home  >  Article  >  php教程  >  PHP displays error message

PHP displays error message

PHP中文网
PHP中文网Original
2016-08-20 08:47:191100browse


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

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

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

                   

Statement:
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
Previous article:Build query stringNext article:Build query string