PHP关于syntax error语法错误的问题(Parse error: syntax error, unexpected end of file in xxxxxxxx)
Parse error: syntax error, unexpected end of file in xxxxxxxx??on line xx
的错误。
如果发现php的语法本身没有什么错误。就有可能是使用了短标签,例如:
<? }?>
这种问题的解决方案是:
可以在php.ini中设置short_open_tag = On