Home >php教程 >php手册 >unexpected error:[] php中的“syntax error, unexpected t_paamayim_nekudotayi

unexpected error:[] php中的“syntax error, unexpected t_paamayim_nekudotayi

WBOY
WBOYOriginal
2016-06-21 08:51:40969browse

    parse error: syntax error, unexpected t_paamayim_nekudotayim in /home/kafka/test/test.php on line 8
paamayim nekudotayim是希伯来语,表示双冒号的意思,也就是double-colon,但却没看到有人提提这个error如何解决。后来总算在官网 http://www.php.net/manual/en/language.oop5.paamayim-nekudotayim.php 找到答案,原来“$class_name::func1();”这种用法是5.3以后才支持的
  本文链接http://www.cxybl.com/html/wlbc/Php/20120607/28515.html



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