diff --git a/Inline.php b/Inline.php index cb687554..24c802bc 100644 --- a/Inline.php +++ b/Inline.php @@ -653,7 +653,7 @@ private static function evaluateScalar(string $scalar, int $flags, array &$refer // no break case '+' === $scalar[0] || '-' === $scalar[0] || '.' === $scalar[0] || is_numeric($scalar[0]): if (Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar)) { - $scalar = str_replace('_', '', (string) $scalar); + $scalar = str_replace('_', '', $scalar); } switch (true) {