mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 03:46:39 +00:00
4f7bf75ff5315b5d50b441da50cc37bfb8e65164
This PR was merged into the 1.16-dev branch.
Discussion
----------
The results of is_dir() are cached
If a production server uses statcache, the results of the first and second call of is_dir() is always the same.
So before calling is_dir() for the second time, use clearstatcache() to clear the results of the first call of is_dir().
Commits
-------
df0d813 The results of is_dir() are cached
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%