PHP问题Parse error: syntax error, unexpected end of file in

检查一下你的php文件中是否存在这样的语法错误:
<<php
{
>
或者
<?
{
?>
以上两种写法都是有错误的,修改为下面的就可以了:
<?php
}
?>

原文地址:https://www.cnblogs.com/dekevin/p/4048929.html