Parse error: Syntax error, unexpected end of file in my PHP code

后端 未结 16 1718
孤城傲影
孤城傲影 2020-11-22 05:27

I got an error:

Parse error: syntax error, unexpected end of file in the line

With this code:


    

        
16条回答
  •  不思量自难忘°
    2020-11-22 05:50

    In my case the culprit was the lone opening tag in the last line of the file. Apparently it works on some configurations with no problems but causes problems on others.

提交回复
热议问题