Fabien Potencier edf5808144 feature #3950 Deprecate usage of ob_* functions in favor of yielding (fabpot)
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
-------

a93723ea Fix bug
0d3a2839 Tweak code
14d38036 Add a deprecation when a Node uses echo/print
210e2d2b Fix tests
1591aa5c Optimize code
1469e6a6 Add support for templates that do not have output Nodes
72922a36 -
71e90fab Remove some tests
4fd62abb -
a9c7307b Tweak code
15879406 Remove the new yield nodes
3b6cbf98 Remove usage of ob_* functions in favor of yielding
2024-02-05 14:24:44 +01:00
2024-01-25 13:09:58 +01:00
2024-01-25 13:09:58 +01:00
2024-01-25 13:09:58 +01:00
2023-02-08 08:44:48 +01:00
2023-12-09 12:45:27 +01:00

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
Languages
PHP 99.9%