ParseError thrown

syntax error, unexpected 'default' (T_DEFAULT), expecting end of file