mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
3af3dcb6d3bcdfa472c29a40e0d0f48847b12f30
This PR was merged into the 2.0-dev branch.
Discussion
----------
Let PHP convert Twig_Markup to JSON instead of pre-filtering it
See http://blog.blackfire.io/blackfire-on-blackfire-twig-and-json.html for the reason to do this.
The bump of the requirement to PHP 5.5+ in Twig 2 makes it possible to rely on ``JsonSerializable``
Commits
-------
8bd96c1 Let PHP convert Twig_Markup to JSON instead of pre-filtering it
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. .. _documentation: http://twig.sensiolabs.org/documentation
Description
Languages
PHP
99.9%