Issue #3262231 by absoludo, fjgarlin, bohart: The usage of var_export can cause circular reference and memory leak on internal logic.