public Memory eval(String code, ArrayMemory locals) throws Throwable {
        Context context = new Context(code);
        AbstractCompiler compiler = scope.createCompiler(this, context);
        
        ModuleEntity module = compiler.compile();
        scope.loadModule(module);
        registerModule(module);

        return module.include(this, locals);
    }
Remove all method which does not destruct

@throws Throwable
jphp-runtime/src/php/runtime/env/Environment.java