首页 > 屏蔽

php 错误屏蔽 error_reporting详解

在Windows环境下:原本在php4.3.0中运行正常的程序,在4.3.1中为何多处报错,大体提示为:Notice:Undefined varialbe:变量名称,例如有如下的代码:

在4.3.0中运行正常,在4.3.1中运行会提示Notice:Undefined varialbe:tmp_i,问题下下: 

阅读全文