if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "O|rl", &zclient, php_http_client_get_class_entry(), &zstream, &action)) {
return;
if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "O|rl", &zclient, php_http_client_get_class_entry(), &zstream, &action)) {
return;
zval args[1], *ztimeout = &args[0];
ZVAL_LONG(ztimeout, timeout_ms);
zval args[1], *ztimeout = &args[0];
ZVAL_LONG(ztimeout, timeout_ms);
php_stream_close(ev->socket);
efree(ev);
curl_multi_assign(curl->handle->multi, sock, NULL);
php_stream_close(ev->socket);
efree(ev);
curl_multi_assign(curl->handle->multi, sock, NULL);
}
ZEND_BEGIN_ARG_INFO_EX(ai_init, 0, 0, 1)
}
ZEND_BEGIN_ARG_INFO_EX(ai_init, 0, 0, 1)
ZEND_END_ARG_INFO();
ZEND_BEGIN_ARG_INFO_EX(ai_timer, 0, 0, 1)
#if PHP_VERSION_ID >= 70000
ZEND_END_ARG_INFO();
ZEND_BEGIN_ARG_INFO_EX(ai_timer, 0, 0, 1)
#if PHP_VERSION_ID >= 70000