mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-31 20:47:28 +00:00
4b2e9ef2a7651918890de0e1b93cfddd2e63c867
This PR was merged into the 1.x branch.
Discussion
----------
Compiler - setlocale must be a string
Following the docs of [setlocale](http://php.net/manual/en/function.setlocale.php) the second argument must be a `string`, `null` or an `array`. Special note about "0" is there as well.
closes https://github.com/twigphp/Twig/issues/2416
Commits
-------
9de41cfe Update Compiler.php
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%