[PHP] Pass ZTS context through to t_output_helper() so it works
with a ZTS-enabled build of PHP. Reported by Pierre Labastie in github PR#155.
This commit is contained in:
parent
2071b7d157
commit
18c00e20bc
3 changed files with 13 additions and 8 deletions
|
|
@ -91,7 +91,7 @@
|
|||
|
||||
%fragment("t_output_helper","header") %{
|
||||
static void
|
||||
t_output_helper( zval **target, zval *o) {
|
||||
t_output_helper(zval **target, zval *o TSRMLS_DC) {
|
||||
if ( (*target)->type == IS_ARRAY ) {
|
||||
/* it's already an array, just append */
|
||||
add_next_index_zval( *target, o );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue