HHVM differs from php-src on large integer parsing (php-src converts
them to floats, HHVM truncates them but leaves them as integers). The
point of this test is to make sure Twig parses it correctly, not the
underlying PHP execution engine.
$stream = $lexer->tokenize($template);
$node = $stream->next();
$node = $stream->next();
- $this->assertEquals(922337203685477580700, $node->getValue());
+ $this->assertEquals("922337203685477580700", $node->getValue());
}
public function testStringWithEscapedDelimiter()