From: Fabien Potencier Date: Tue, 6 Dec 2011 15:49:24 +0000 (+0100) Subject: merged branch duo-criativa/master (PR #544) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=f1e5278aeab8c6522e47b893a7e5e39d7212f9cb;p=web%2Fkonrad%2Ftwig.git merged branch duo-criativa/master (PR #544) Commits ------- 11b8689 Refactoring: using && instead of nested if's 7aa6757 Bug correction: Parsing integers large than PHP_INT_MAX was generating trucated token values. 046e4ff Bug correction: Parsing integers large than PHP_INT_MAX was generating trucated token values. Discussion ---------- Fixed bug that was trucating integers large then PHP_INT_MAX The following code {% set sizes = [7077888, 452984832, 28991029248, 1855425871872, 9223372036854775807] %} {% for i in sizes %} {{ i }} {% endfor %} was generating the following output 7077888 452984832 2147483647 2147483647 2147483647 With the fix, the output looks like the following on Ubuntu 11.04 7077888 452984832 28991029248 1855425871872 9.2233720368548E+18 --- f1e5278aeab8c6522e47b893a7e5e39d7212f9cb