Escaping <? on php shorthand enabled server when using require

无人久伴 提交于 2019-12-01 23:45:36

For XML files, the <?xml version="1.0" encoding="UTF-8" ?> is optional (and actually the default like you write it), so you can just remove it and therefore could fix the problem for this case.

You could <?php echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?>

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!