config(php): 修改编译器默认配置选项

- 将 formatCode 默认值从 true 改为 false
- 将 printBacktraceOnError 默认值从 true 改为 false
pull/1/head
韩天峰 4 months ago
parent 7ee5f8e018
commit fa9dde33c6
  1. 4
      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.)

Loading…
Cancel
Save