function curl_exec(CurlHandle $handle): string|bool {}
-function curl_file_create(string $filename, ?string $mimetype = null, ?string $postname = null): CURLFile {}
+function curl_file_create(string $filename, ?string $mime_type = null, ?string $posted_filename = null): CURLFile {}
function curl_getinfo(CurlHandle $handle, ?int $option = null): mixed {}
function curl_multi_getcontent(CurlHandle $multi_handle): ?string {}
-/** @param int|null $msgs_in_queue */
-function curl_multi_info_read(CurlMultiHandle $multi_handle, &$msgs_in_queue = null): array|false {}
+/** @param int $queued_messages */
+function curl_multi_info_read(CurlMultiHandle $multi_handle, &$queued_messages = null): array|false {}
function curl_multi_init(): CurlMultiHandle {}
function curl_multi_select(CurlMultiHandle $multi_handle, float $timeout = 1.0): int {}
-function curl_multi_strerror(int $error_number): ?string {}
+function curl_multi_strerror(int $error_code): ?string {}
#if LIBCURL_VERSION_NUM >= 0x071200 /* 7.18.0 */
-function curl_pause(CurlHandle $handle, int $bitmask): int {}
+function curl_pause(CurlHandle $handle, int $flags): int {}
#endif
function curl_reset(CurlHandle $handle): void {}
function curl_share_setopt(CurlShareHandle $share_handle, int $option, mixed $value): bool {}
-function curl_share_strerror(int $error_number): ?string {}
+function curl_share_strerror(int $error_code): ?string {}
-function curl_strerror(int $error_number): ?string {}
+function curl_strerror(int $error_code): ?string {}
function curl_version(): array|false {}
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: ca65615cacfe914f3511007fd393169ffededf34 */
+ * Stub hash: afeae538b49eb43a661e5b491da79c17d10c6bfe */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_curl_close, 0, 1, IS_VOID, 0)
ZEND_ARG_OBJ_INFO(0, handle, CurlHandle, 0)
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_curl_file_create, 0, 1, CURLFile, 0)
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mimetype, IS_STRING, 1, "null")
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, postname, IS_STRING, 1, "null")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mime_type, IS_STRING, 1, "null")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, posted_filename, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_curl_getinfo, 0, 1, IS_MIXED, 0)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_curl_multi_info_read, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
ZEND_ARG_OBJ_INFO(0, multi_handle, CurlMultiHandle, 0)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, msgs_in_queue, "null")
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, queued_messages, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_curl_multi_init, 0, 0, CurlMultiHandle, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_curl_multi_strerror, 0, 1, IS_STRING, 1)
- ZEND_ARG_TYPE_INFO(0, error_number, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, error_code, IS_LONG, 0)
ZEND_END_ARG_INFO()
#if LIBCURL_VERSION_NUM >= 0x071200 /* 7.18.0 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_curl_pause, 0, 2, IS_LONG, 0)
ZEND_ARG_OBJ_INFO(0, handle, CurlHandle, 0)
- ZEND_ARG_TYPE_INFO(0, bitmask, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, flags, IS_LONG, 0)
ZEND_END_ARG_INFO()
#endif
class CURLFile
{
- public function __construct(string $filename, ?string $mimetype = null, ?string $postname = null) {}
+ public function __construct(string $filename, ?string $mime_type = null, ?string $posted_filename = null) {}
/** @return string */
public function getFilename() {}
public function getPostFilename() {}
/** @return void */
- public function setMimeType(string $mime) {}
+ public function setMimeType(string $mime_type) {}
/** @return void */
- public function setPostFilename(string $postname) {}
+ public function setPostFilename(string $posted_filename) {}
}
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 2dbca0eed1723e959b2a56d6035239b189f52495 */
+ * Stub hash: a81720edab23748f6dce30306f5a5ffc9634da5d */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_CURLFile___construct, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mimetype, IS_STRING, 1, "null")
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, postname, IS_STRING, 1, "null")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mime_type, IS_STRING, 1, "null")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, posted_filename, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_CURLFile_getFilename, 0, 0, 0)
#define arginfo_class_CURLFile_getPostFilename arginfo_class_CURLFile_getFilename
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_CURLFile_setMimeType, 0, 0, 1)
- ZEND_ARG_TYPE_INFO(0, mime, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, mime_type, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_CURLFile_setPostFilename, 0, 0, 1)
- ZEND_ARG_TYPE_INFO(0, postname, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, posted_filename, IS_STRING, 0)
ZEND_END_ARG_INFO()