public ErrorReportHandler getErrorReportHandler() {
        return errorReportHandler;
    }
Remove all method which does not destruct

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