mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-09 00:46:31 +00:00
82bc07bc640335eb603363edf83c2e1c0584796b
* 3.x: Reduce memory usage of the context restoration compiled at the end of for loops Clarify sandbox always-allowed trust boundary Bump version to 3.28.0 for the always_allowed_in_sandbox feature Add regression tests that always-allowed callables still enforce the sandbox __toString policy on arguments Document the criteria for always-allowed sandbox items and list 4.0 built-ins Add an always_allowed_in_sandbox flag for filters, functions, and tags Remove issue references in tests Avoid allocating a normalized copy when counting newlines without carriage returns Report columns in syntax errors Track the source offset of each token # Conflicts: # CHANGELOG # doc/deprecated.rst # doc/sandbox.rst # src/Environment.php # src/Error/Error.php # src/Lexer.php # src/Node/ForNode.php # src/Token.php # src/TwigCallableInterface.php # tests/Extension/SandboxTest.php # tests/Node/ForTest.php
…
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%