Arnaud Le Blanc
9e6f285362
fixed crash in twig_template_get_attributes when input is not an array or object
2011-12-16 20:46:37 +01:00
Arnaud Le Blanc
569f782ad0
fix ZTS build
2011-11-23 14:01:51 +01:00
Arnaud Le Blanc
1606910a9a
Fix undefined behavior
...
The callbacks are expected to return an integer, and returning void
instead was triggering weird bugs
I've also removed the casts to ensure that the signatures are compatible
2011-11-23 13:47:55 +01:00
Arnaud Le Blanc
0ce8d3c986
Convert item argument to string
...
This fixes a crash in some cases and repeated conversions
2011-11-23 13:47:48 +01:00
Arnaud Le Blanc
d807981bc6
don't try to access non public property or method
2011-11-23 13:38:48 +01:00
Fabien Potencier
bae4246356
updated Twig ext version
2011-11-23 12:19:09 +01:00
Fabien Potencier
7cfb0ecbb8
merged branch arjenjb/master (PR #528 )
...
Commits
-------
c65be3e Pass around the TSRM
09d3095 Moved zval declaration
c941552 Removed globals
ffb2460 Added config.w32 for windows builds
Discussion
----------
Fixed compilation on windows
2011-11-23 12:16:47 +01:00
Arjen Brouwer
c65be3e17b
Pass around the TSRM
2011-11-22 00:17:40 +01:00
Arjen Brouwer
09d3095b66
Moved zval declaration
2011-11-21 23:57:44 +01:00
Arjen Brouwer
c9415522a9
Removed globals
2011-11-21 23:56:11 +01:00
Derick Rethans
c4a7d1983d
Merge branch 'master' of github.com:derickr/twig-ext
...
Conflicts:
ext/twig/twig.c
2011-11-21 11:09:34 +00:00
Derick Rethans
7d37d66317
Make the extension ZTS-proof.
2011-11-21 11:08:17 +00:00
Derick Rethans
229c07c6a6
Added another workaround for PHP 5.4 support.
2011-11-20 21:41:07 +00:00
Derick Rethans
f7f8346d37
Switch LICENSE to Revised BSD.
2011-11-20 21:26:21 +00:00
Derick Rethans
16ca05529c
Move files into ext/twig.
2011-11-20 21:25:05 +00:00