Home >Backend Development >PHP Tutorial >奇怪的问题 PHP输出空白

奇怪的问题 PHP输出空白

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-22 18:40:561461browse

今天从网上下载了一个代码回来调试,一开始报代码出错,经过一翻调试,代码终于没有问题了。

可是IE显示空白一片,查看网页源代码,全部输出了,可IE就是空白,我晕了。

又是翻来翻去,请教了同事,代码都没有问题。

无意间,将文件另存为时发现,这个文件是UTF-8编码的,终于发现问题了。

代码中定义了:

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