mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
bc3a7e806f7ed2a5254a6176e7c183a0a6780b2a
This PR was merged into the master branch. Commits -------df13370added a missing test33e690bfixed some tests when the extension is not enabled51e707fmerged branch char101/fix-ext-retval (PR #921)014f459added some missing test for Template::getAttribute()e8d12daFix empty string comparison4311df3added some missing test for Template::getAttribute() Discussion ---------- The C extension does not behave in the same way as the PHP code The added test shows that the C extension does not behave in the same way as the PHP code. I have no idea why. The problem is probably around line 1033 in the extension code: https://github.com/fabpot/Twig/blob/master/ext/twig/twig.c#L1033 --------------------------------------------------------------------------- by stof at 2012-12-05T17:07:00Z The testsuite is broken when you run it without the C Twig extension. The test should be skipped when ``useExt`` is ``true`` and the extension is not available
…
…
reverted the early registration of extensions (extensions are now loaded as before -- as late as possible) -- closes #910
…
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.
Description
Languages
PHP
99.9%
