diff --git a/src/Php/CompilerBase.php b/src/Php/CompilerBase.php index 05186cdb..bd62fd4e 100644 --- a/src/Php/CompilerBase.php +++ b/src/Php/CompilerBase.php @@ -1158,7 +1158,8 @@ class CompilerBase extends \PhpAot\Core\Translator $this->context->ssaBuilder = new SsaBuilder($v->stmts, $this->functionDef->argInfoList); $this->context->ssaBuilder->build(); // Narrow local variable types based on SSA analysis - $this->optimizeVarTypes(); + // TODO: 优化变量类型,不可靠,静态分析几乎无法判断是否会溢出 + // $this->optimizeVarTypes(); // Analyze object stability for property reference hoisting $this->optimizeObjectProps(); }