diff --git a/src/Php/CompilerBase.php b/src/Php/CompilerBase.php index bdd4238f..9e3e227b 100644 --- a/src/Php/CompilerBase.php +++ b/src/Php/CompilerBase.php @@ -1048,7 +1048,7 @@ class CompilerBase extends \PhpAot\Core\Translator $type = $expr->getType(); switch ($type) { case 'Scalar_Int': - return $expr->value . ($this->isMacos() ? 'LL' : 'L'); + return $expr->value . ($this->isLinux() ? 'L' : 'LL'); case 'Scalar_Float': return $this->parseScalarFloat($expr); case 'Scalar_String':