refactor(php): 更新布尔值常量定义

- 将 VALUE_FALSE 从 php::false_value 修改为 php::false_
- 将 VALUE_TRUE 从 php::true_value 修改为 php::true_
pull/1/head
韩天峰 4 months ago
parent 7ad7657e28
commit 8d84671c57
  1. 4
      src/Php/CompilerBase.php

@ -76,8 +76,8 @@ class CompilerBase extends \PhpAot\Core\Translator
public const string VALUE_INF = 'std::numeric_limits<double>::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_';

Loading…
Cancel
Save