Fabien Potencier 4b2e9ef2a7 bug #2417 Compiler - setlocale must be a string (SpacePossum)
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
2017-03-08 09:45:58 -08:00
2017-02-23 06:54:27 -08:00
2017-02-26 16:07:56 -08:00
2017-03-08 18:10:11 +01:00
2017-02-23 06:58:09 -08:00
2015-01-20 03:31:04 +01:00
2017-01-04 14:05:59 -08:00
2017-02-26 16:07:56 -08:00
2017-01-02 12:22:20 -08:00
2016-11-19 11:13:58 -08:00

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