ParseError thrown

syntax error, unexpected '$att' (T_VARIABLE)