ParseError thrown

syntax error, unexpected 'class' (T_CLASS), expecting ',' or ';'