public static void addThreadSupport(Environment env) {
        addThreadSupport(Thread.currentThread(), env);
    }
Gets Environment for current thread context
jphp-runtime/src/php/runtime/env/Environment.java