#ifdef ZEND_ENGINE_2
-ZEND_EXTERN_MODULE_GLOBALS(http);
-
#define http_message_object_declare_default_properties() _http_message_object_declare_default_properties(TSRMLS_C)
static inline void _http_message_object_declare_default_properties(TSRMLS_D);
#define http_message_object_read_prop _http_message_object_read_prop
if (o->message) {
http_message_free(o->message);
}
+ zval_dtor(&o->_tmp_property);
efree(o);
}
{
getObjectEx(http_message_object, obj, object);
http_message *msg = obj->message;
- zval *return_value = &HTTP_G(message_object_tmp_property);
+ zval *return_value = &obj->_tmp_property;
if (!EG(scope) || !instanceof_function(EG(scope), obj->zo.ce TSRMLS_CC)) {
zend_error(E_WARNING, "Cannot access protected property %s::$%s", obj->zo.ce->name, Z_STRVAL_P(member));
char curlerr[CURL_ERROR_SIZE + 1];
# endif
zend_llist to_free;
- zval message_object_tmp_property;
#endif /* HTTP_HAVE_CURL */
ZEND_END_MODULE_GLOBALS(http)