From fa9dde33c6f06b3fa804dd65fb5dafac1a690e9d Mon Sep 17 00:00:00 2001 From: rango Date: Fri, 8 May 2026 17:30:06 +0800 Subject: [PATCH] =?UTF-8?q?config(php):=20=E4=BF=AE=E6=94=B9=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=99=A8=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE=E9=80=89?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 formatCode 默认值从 true 改为 false - 将 printBacktraceOnError 默认值从 true 改为 false --- src/Php/CompilerBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Php/CompilerBase.php b/src/Php/CompilerBase.php index 05b0eebc..aef6172f 100644 --- a/src/Php/CompilerBase.php +++ b/src/Php/CompilerBase.php @@ -167,8 +167,8 @@ class CompilerBase extends \PhpAot\Core\Translator protected string $linker = 'link'; // Windows linker: link.exe or lld-link protected int $floatPrecision = 17; protected bool $debugInfo = false; - protected bool $formatCode = true; - protected bool $printBacktraceOnError = true; + protected bool $formatCode = false; + protected bool $printBacktraceOnError = false; protected bool $noLiteralStrings = false; protected bool $noConsole = false; // Windows: hide console window protected string $sanitize = ''; // Sanitizer type (address, undefined, etc.)