我收到此错误:第92行上出现错误:语法错误,意外'(',期待')'。但是,当我将implode()
更改为""
时,一切都神奇地再次起作用
这是我的代码:
$arrayThings = array(
other entries...
"border" => array(
"category" => "bgBorders",
"verify" => array("func" => "verifyBool", "error" => "errormessage"),
"type" => XenForo_Input::UINT,
"permission" => "canUseBorderIn%sM",
"format" => array(
"span" => array(
"attr" => array(
"style" => array(
"border" => implode(" ", self::$borderDefaults), // L92
)
)
)
),
),
....other entries
)
我手动验证了其他条目的语法是正确的。我正在使用PHP 5.4.15。有人知道这个问题吗?