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