錯誤:錯誤在PHP代碼
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE in
PSubscriptionFile.php on line 90;
我認爲公共靜態_fromJSON應該是公開的
static function _fromJSON
但給予致命錯誤:
Declaration of PSubscriptionFile::__construct() must be compatible with that of
PuSHSubscriptionInterface::__construct() in PSubscriptionFile.php on line 9
的文件:http://github.com/bobdia/PuSHSubscriber
我不明白如何解決這個錯誤。謝謝!
90行是空的r github文件。請在這裏複製+粘貼相關代碼(前後90行+3行) – 2010-10-22 10:46:31