Namespace declaration statement has to be the very first statement in the script
问题:Namespace declaration statement has to be the very first statement in the script
解决:
先确认你的php文件中 '<?php' 前面没有其他语句或者空行,有就去掉。
再确认你的文件编码是不是 utf-8 无BOM格式(用记事本编辑保存的时候莫名其妙编码变为其他的),不是的话用编辑器改为utf-8 无...
原创
2018-08-22 15:42:23 ·
335 阅读 ·
0 评论