mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-11 18:06:46 +00:00
edf580814491bbfb212cf3a403b3841fdfc2281c
This PR was squashed before being merged into the 3.x branch. Discussion ---------- Deprecate usage of ob_* functions in favor of yielding Still a work in progress, but everything works fine in both modes. Commits -------a93723eaFix bug0d3a2839Tweak code14d38036Add a deprecation when a Node uses echo/print210e2d2bFix tests1591aa5cOptimize code1469e6a6Add support for templates that do not have output Nodes72922a36-71e90fabRemove some tests4fd62abb-a9c7307bTweak code15879406Remove the new yield nodes3b6cbf98Remove usage of ob_* functions in favor of yielding
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%