array_init(&filterparams);
/* ext/zlib zval_dtors a separated zval, so we have to make sure it doesn't destroy ours */
#if PHP_VERSION_ID < 50300
- filterparams->refcount = 26;
+ filterparams.refcount = 26;
#else
Z_SET_REFCOUNT(filterparams, 26);
#endif
zp[0] = ¶ms;
#if PHP_VERSION_ID < 50300
- if (FAILURE == zend_fcall_info_init(rewrite, &fci, &fcc, NULL TSRMLS_CC)) {
+ if (FAILURE == zend_fcall_info_init(rewrite, &fci, &fcc TSRMLS_CC)) {
#else
if (FAILURE == zend_fcall_info_init(rewrite, 0, &fci, &fcc, NULL, NULL TSRMLS_CC)) {
#endif
*newentry.metadata = *t;
zval_copy_ctor(newentry.metadata);
#if PHP_VERSION_ID < 50300
- newentry.metadata.refcount = 1;
+ newentry.metadata->refcount = 1;
#else
Z_SET_REFCOUNT_P(newentry.metadata, 1);
#endif
array_init(&filterparams);
/* ext/zlib zval_dtors a separated zval, so we have to make sure it doesn't destroy ours */
#if PHP_VERSION_ID < 50300
- filterparams->refcount = 26;
+ filterparams.refcount = 26;
#else
Z_SET_REFCOUNT(filterparams, 26);
#endif