From 8d84671c572494b4ce2aa48feb93ed61d86fd48d Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Thu, 7 May 2026 17:12:22 +0800 Subject: [PATCH] =?UTF-8?q?refactor(php):=20=E6=9B=B4=E6=96=B0=E5=B8=83?= =?UTF-8?q?=E5=B0=94=E5=80=BC=E5=B8=B8=E9=87=8F=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 VALUE_FALSE 从 php::false_value 修改为 php::false_ - 将 VALUE_TRUE 从 php::true_value 修改为 php::true_ --- 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 c36560d7..c9270506 100644 --- a/src/Php/CompilerBase.php +++ b/src/Php/CompilerBase.php @@ -76,8 +76,8 @@ class CompilerBase extends \PhpAot\Core\Translator public const string VALUE_INF = 'std::numeric_limits::infinity()'; public const string VALUE_NULL = 'php::null'; public const string VALUE_ZERO = 'php::zero'; - public const string VALUE_FALSE = 'php::false_value'; - public const string VALUE_TRUE = 'php::true_value'; + public const string VALUE_FALSE = 'php::false_'; + public const string VALUE_TRUE = 'php::true_'; public const string LITERAL_STRINGS = '_literal_strings'; public const string ANON_CLASS = '_anon_class_'; public const string STATIC_VAR = '_static_var_';