Home  >  Article  >  Backend Development  >  include_once为何会有输出

include_once为何会有输出

WBOY
WBOYOriginal
2016-06-13 13:15:571081browse

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

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

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

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

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