Home > Backend Development > PHP Tutorial > include_once为何会有输出

include_once为何会有输出

WBOY
Release: 2016-06-13 13:15:57
Original
1140 people have browsed it

include_once为什么会有输出?
前端用js的length统计返回的data,没有include_once时正常。

使用了include_once多输出2个。(空字符)

怎么解决?php文件已经是无BOM格式

------解决方案--------------------
去掉被 include_once 的文件中最后的 ?>

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