fix phpdoc for environment, lexer and parser
compilation process should throw an syntax error and not a runtime error