# endif
#endif
-ZEND_EXTERN_MODULE_GLOBALS(http);
-
#define HTTP_BEGIN_ARGS(method, ret_ref, req_args) HTTP_BEGIN_ARGS_EX(HttpMessage, method, ret_ref, req_args)
#define HTTP_EMPTY_ARGS(method, ret_ref) HTTP_EMPTY_ARGS_EX(HttpMessage, method, ret_ref)
#define HTTP_MESSAGE_ME(method, visibility) PHP_ME(HttpMessage, method, HTTP_ARGS(HttpMessage, method), visibility)
}
#endif
- ALLOC_ZVAL(cpy);
- *cpy = *value;
- zval_copy_ctor(cpy);
- INIT_PZVAL(cpy);
+ cpy = zval_copy(Z_TYPE_P(value), value);
#ifdef WONKY
switch (h)
#endif
break;
}
- zval_ptr_dtor(&cpy);
+ zval_free(&cpy);
}
static HashTable *_http_message_object_get_props(zval *object TSRMLS_DC)