Heim  >  Artikel  >  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:40919Durchsuche

    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



Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn