mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 03:46:39 +00:00
e19f056326baa90bed1da75d0a033f1191c54228
This PR was squashed before being merged into the 4.x branch. Discussion ---------- Add support for recursive loops Fixes #3416 Fixes #4144 Commits -------481e7f0dPrevent infinite loopsfa1a217fAdd another test036c9943Don't unset loop when it's not defined1b9baa76Remove usage of the internal _parent context variable in loopsc28f68f8Add support for Escaper and Sandbox for Generator nodesc1933323Simplify implementation8c5dd39bUse loop() to recurse instead of loop.recurse()e95d6b2fAdd support for recursive loops
…
Twig, the flexible, fast, and secure template language for PHP
==============================================================
Twig is a template language for PHP.
Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.
Sponsors
--------
.. raw:: html
<a href="https://docs.blackfire.io/introduction?utm_source=twig&utm_medium=github_readme&utm_campaign=logo">
<img src="https://static.blackfire.io/assets/intemporals/logo/png/blackfire-io_secondary_horizontal_transparent.png?1" width="255px" alt="Blackfire.io">
</a>
More Information
----------------
Read the `documentation`_ for more information.
.. _documentation: https://twig.symfony.com/documentation
Description
Languages
PHP
99.9%