Commits
-------
3ca6654 avoid crash when TWIG_GET_ARRAY_ELEMENT returns NULL
3694d4b allow --EXCEPTION-- tests to have a --DATA-- block
Discussion
----------
Fix for #807 (Segmentation fault when exception thrown inside any of ArrayAccess implementation methods)
This fixes#807
Commits
-------
fce92f8 Update doc/templates.rst
Discussion
----------
Update doc/templates.rst
Komodo and Komodo Edit have builtin Twig support since last version (7.1)
Commits
-------
b98fff1 Added missing abs and date_modify functions to the filters toctree
Discussion
----------
Added missing abs and date_modify functions to the filters toctree
Both abs.rst and date_modify.rst were createad, but were not linked on the filters toctree
This code was not only useful for macros but also when you call a method on
a template instance -- this is not recommended/supported but used by the Symfony profiler)
Commits
-------
ee87848 Little typo
c31dd7b The empty test now also checks for empty arrays
Discussion
----------
The empty test now also checks for empty arrays
Little change in the docs to reflect that, as i had to check the source code to see if it worked
Commits
-------
a6f03bd Reverse argument for number_format
Discussion
----------
Reverse argument for number_format
Just a little fix, the doc isn't following twig/php's argument order
Commits
-------
0869d15 fix example autoescape for javascript
Discussion
----------
fix example autoescape for javascript
{% autoescape js %} triggers an exception "An escaping strategy must be a string or a Boolean in .."
Commits
-------
0cb37ba Fix typehint "int" to "integer"
Discussion
----------
Fix typehint "int" to "integer"
---------------------------------------------------------------------------
by nikic at 2012-07-09T21:13:48Z
Why would you want to do that?
---------------------------------------------------------------------------
by Adel-E at 2012-07-09T21:21:34Z
Because in this file all @param use integer instead of int
Commits
-------
9229ef3 Removed useless code
Discussion
----------
[Ext] Removed useless code
All init hooks could be bypassed (just return `SUCESS`)
There is no `ini` entries and no globals
Phpinfo automatically get the version when `MINFO` is null
Twig don't work with PHP 4 (ref to `20010901`)
Commits
-------
2c9e26e Fix date_modify filter for PHP 5.2
Discussion
----------
Fix date_modify filter for PHP 5.2
The return of the object was added in 5.3, this hopefully fixes it.