What is unexpected T_VARIABLE in PHP?

后端 未结 3 2055
悲&欢浪女
悲&欢浪女 2020-12-04 15:13

I get this PHP error:

Parse error: syntax error, unexpected T_VARIABLE

From this line:

$list[$i][$docinfo[\'at         


        
3条回答
  •  时光说笑
    2020-12-04 15:54

    There might be a semicolon or bracket missing a line before your pasted line.

    It seems fine to me; every string is allowed as an array index.

提交回复
热议问题