Home > Backend Development > PHP Tutorial > php 展示报错信息

php 展示报错信息

WBOY
Release: 2016-06-13 13:06:36
Original
1397 people have browsed it

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

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

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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template