Home  >  Article  >  Backend Development  >  php 展示报错信息

php 展示报错信息

WBOY
WBOYOriginal
2016-06-13 13:06:361285browse

php 显示报错信息
遇到一个很刺手的问题。一个程序
放error_reporting(E_ALL);就正常,此时不会显示错误信息,因为程序变正常了
不放error_reporting(E_ALL);程序就出错,但是没有显示报错信息啊。坑爹啊。所以不知道发生了什么事情。请问这张情况下如何知道到底哪里报错了?

------解决方案--------------------
那就需要看到你的代码才行了
------解决方案--------------------
要看error或者notice不然写不到文本中

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