Fabien Potencier 440e399af5 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
2013-08-06 07:44:33 +02:00
2013-08-05 18:25:53 +02:00
2012-11-18 21:42:00 +01:00
2013-07-23 17:39:54 +02:00
2013-08-05 18:50:34 +02:00
2013-08-03 17:50:09 +02:00
2013-01-04 17:54:54 +01:00
2012-04-23 23:34:16 +02:00

Twig, the flexible, fast, and secure template language for PHP

Build Status

Twig is a template language for PHP, released under the new BSD license (code and documentation).

Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment.

More Information

Read the documentation for more information.

Languages
PHP 99.9%