`

PHP中的“syntax error, unexpected T_PAAMAYIM_NEKUDOTAYI

 
阅读更多

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以后才支持的

 

 

 

分享到:
评论
1 楼 vb2005xu 2011-12-06  
ed2k://|file|%B4%BA%B3%B1%C0%C3%C2%FE%BA%A3%CC%C4%BA%ECTraci%20Lords%20-%20(1985)%20Educating%20Mandy.avi|656113664|4AF17D927AD5982575754ADDFA1CB967|/

相关推荐

Global site tag (gtag.js) - Google Analytics