Home  >  Article  >  Backend Development  >  关于PHP异常:unexpected T_PAAMAYIM_NEKUDOTAYIM

关于PHP异常:unexpected T_PAAMAYIM_NEKUDOTAYIM

WBOY
WBOYOriginal
2016-06-13 13:12:011005browse

关于PHP错误:unexpected T_PAAMAYIM_NEKUDOTAYIM

PHP解析错误:Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM ,这个错误很少遇到,但是遇到了之后看到这个比较奇怪的字符:T_PAAMAYIM_NEKUDOTAYIM 就比较晕,其实这个标识的是双引号(::),因此含义就是不正确的使用了双引号,解决办法是查找是否在使用::的时候,左侧的表达式不是一个类名。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn