【发布时间】:2016-02-01 08:23:18
【问题描述】:
我正在使用 twitterauth.php 在 codeigniter php 中获取 twitter 数据。 它给了我错误
解析错误:语法错误,第 117 行 C:\xampp\htdocs\twitter\application\controllers\twitteroauth.php 中的意外 '['
第 117 行是
public function oauth($path, array $parameters = [])
【问题讨论】:
-
@Volkerk 这个问题似乎是正确的,没有人会阅读该百科全书来解决一个小问题。它不是重复的,因为它服务于网站的目的。
-
我不同意。 a) 在投票关闭系统中甚至还有一个选项“offtic: parse error”,b) 只需在“PHP Parse/Syntax Errors; and How to solve them?”中搜索
unexpected [。你会在这里得到the exact same answer 作为接受的,除了更好。
标签: php codeigniter twitter