include_once为何会有输出

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

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

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

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

[解决办法]
去掉被 include_once 的文件中最后的 ?>