mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 04:16:28 +00:00
440e399af5a699eb1629d0302a9b3eaada170a58
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
Twig, the flexible, fast, and secure template language for PHP
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.
Description
Languages
PHP
99.9%
