From: Fabien Potencier Date: Tue, 6 Aug 2013 05:44:33 +0000 (+0200) Subject: merged branch Misiur/master (PR #1158) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=440e399af5a699eb1629d0302a9b3eaada170a58;p=web%2Fkonrad%2Ftwig.git merged branch Misiur/master (PR #1158) This PR was squashed before being merged into the master branch (closes #1158). Discussion ---------- Don't use array_fill for full array When last array returned from array_chunk is full, array_fill is called with 0 as num argument, which causes fatal error. Additionally I've changed doc fill parameter, as other types are accepted as well, and added unit test. Commits ------- 270c794 Don't use array_fill for full array --- 440e399af5a699eb1629d0302a9b3eaada170a58