fci.function_table = EG(function_table);
fci.function_name = zfunction;
fci.symbol_table = NULL;
+#if PHP_VERSIONID >= 50300
fci.object_ptr = object;
+#else
+ fci.object_pp = &object;
+#endif
fci.retval_ptr_ptr = &retval_ptr;
fci.param_count = arg_count;
fci.params = args;
fci.function_table = EG(function_table);
fci.function_name = zfunction;
fci.symbol_table = NULL;
+#if PHP_VERSIONID >= 50300
fci.object_ptr = object;
+#else
+ fci.object_pp = &object;
+#endif
fci.retval_ptr_ptr = &retval_ptr;
fci.param_count = 1;
fci.params = args;
fci.function_table = EG(function_table);
fci.function_name = zfunction;
fci.symbol_table = NULL;
+#if PHP_VERSIONID >= 50300
fci.object_ptr = object;
+#else
+ fci.object_pp = &object;
+#endif
fci.retval_ptr_ptr = &retval_ptr;
fci.param_count = 1;
fci.params = args;
fci.function_table = EG(function_table);
fci.function_name = zfunction;
fci.symbol_table = NULL;
+#if PHP_VERSIONID >= 50300
fci.object_ptr = object;
+#else
+ fci.object_pp = &object;
+#endif
fci.retval_ptr_ptr = &retval_ptr;
fci.param_count = 2;
fci.params = args;
return success;
}
+#ifndef Z_SET_REFCOUNT_P
+# define Z_SET_REFCOUNT_P(pz, rc) pz->refcount = rc
+# define Z_UNSET_ISREF_P(pz) pz->is_ref = 0
+#endif
+
void TWIG_NEW(zval *object, char *class, zval *value)
{
zend_class_entry **pce;