X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_object.c;h=2d09860ee5ba57ae4acfaa40b6b5e1233f194855;hp=e42998ea773407c830ac3cb9282a3ade55cd7081;hb=refs%2Fheads%2Fmaster;hpb=b41323e1817c50d062b27da798c7db35fa58212c diff --git a/src/php_http_object.c b/src/php_http_object.c index e42998e..2d09860 100644 --- a/src/php_http_object.c +++ b/src/php_http_object.c @@ -66,7 +66,9 @@ php_http_object_method_t *php_http_object_method_init(php_http_object_method_t * cb->fci.size = sizeof(cb->fci); ZVAL_STRINGL(&cb->fci.function_name, method_str, method_len); +#if PHP_VERSION_ID < 70300 cb->fcc.initialized = 1; +#endif cb->fcc.calling_scope = cb->fcc.called_scope = Z_OBJCE_P(zobject); cb->fcc.function_handler = Z_OBJ_HT_P(zobject)->get_method(&Z_OBJ_P(zobject), Z_STR(cb->fci.function_name), NULL);