在安装phpStudy后访问laravel项目时会报错Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable
问题:
使用PHPSTUDY时 报错
原因:
phpstudy默认开启的是php5.5版本
解决方案:
把php版本切换到5.6+就搞定了
要使用高版本的PHPStudy
博客指出在安装phpStudy后访问laravel项目会出现报错,具体为Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable,还提及了问题、原因及解决方案等关键信息。
在安装phpStudy后访问laravel项目时会报错Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable
问题:
使用PHPSTUDY时 报错
原因:
phpstudy默认开启的是php5.5版本
解决方案:
把php版本切换到5.6+就搞定了
要使用高版本的PHPStudy
4617

被折叠的 条评论
为什么被折叠?