ParseError thrown

syntax error, unexpected 'string' (T_STRING), expecting variable (T_VARIABLE)