第37行或者这个类构造函数的制作方式都突出了什么?
解析错误:语法错误,意外 T_STRING,期待T_OLD_FUNCTION或 T_FUNCTION或T_VAR或'}' /dir/public_html/site/wp-content/themes/test/category-images/category-images.php 第37行
class CategoryImagesII extends CategoryImagesII_Plugin
{
protected $error_codes = array(); // LINE 37
protected $error_strings = array();
答案 0 :(得分:5)
我敢打赌它是PHP 4,因为它无法识别仅限PHP 5的protected
关键字。