ParseError thrown

syntax error, unexpected 'bei' (T_STRING)