class com
{
/** @param string|array|null $server_name */
- public function __construct(string $module_name, $server_name = UNKOWN, int $codepage = CP_ACP, string $typelib = "") {}
+ public function __construct(string $module_name, $server_name = UNKNOWN, int $codepage = CP_ACP, string $typelib = "") {}
}
#if HAVE_MSCOREE_H
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_com___construct, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, module_name, IS_STRING, 0)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, server_name, "UNKOWN")
+ ZEND_ARG_INFO(0, server_name)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, codepage, IS_LONG, 0, "CP_ACP")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, typelib, IS_STRING, 0, "\"\"")
ZEND_END_ARG_INFO()
* @param int|resource $skip actually this parameter is optional, not $handle
* @param resource $handle
*/
-function dba_fetch($key, $skip, $handle = UNKOWN): string|false {}
+function dba_fetch($key, $skip, $handle = UNKNOWN): string|false {}
function dba_key_split(string $key): array|false {}
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_dba_fetch, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, skip)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, handle, "UNKOWN")
+ ZEND_ARG_INFO(0, handle)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_dba_key_split, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
function snmp2_get(string $host, string $community, $object_id, int $timeout = UNKNOWN, int $retries = UNKNOWN): array|bool {}
/** @param array|string $object_id */
-function snmp2_getnext(string $host, string $community, $object_id, int $timeout = UNKOWN, int $retries = UNKNOWN): array|bool {}
+function snmp2_getnext(string $host, string $community, $object_id, int $timeout = UNKNOWN, int $retries = UNKNOWN): array|bool {}
/** @param array|string $object_id */
function snmp2_walk(string $host, string $community, $object_id, int $timeout = UNKNOWN, int $retries = UNKNOWN): array|bool {}
function snmp3_get(string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, $object_id, int $timeout = UNKNOWN, int $retries = UNKNOWN): array|bool {}
/** @param array|string $object_id */
-function snmp3_getnext(string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, $object_id, int $timeout = UNKNOWN, int $retries = UNKOWN): array|bool {}
+function snmp3_getnext(string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, $object_id, int $timeout = UNKNOWN, int $retries = UNKNOWN): array|bool {}
/** @param array|string $object_id */
function snmp3_walk(string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, $object_id, int $timeout = UNKNOWN, int $retries = UNKNOWN): array|bool {}
#define arginfo_snmp2_get arginfo_snmpget
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_snmp2_getnext, 0, 3, MAY_BE_ARRAY|MAY_BE_BOOL)
- ZEND_ARG_TYPE_INFO(0, host, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, community, IS_STRING, 0)
- ZEND_ARG_INFO(0, object_id)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timeout, IS_LONG, 0, "UNKOWN")
- ZEND_ARG_TYPE_INFO(0, retries, IS_LONG, 0)
-ZEND_END_ARG_INFO()
+#define arginfo_snmp2_getnext arginfo_snmpget
#define arginfo_snmp2_walk arginfo_snmpget
ZEND_ARG_TYPE_INFO(0, retries, IS_LONG, 0)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_snmp3_getnext, 0, 8, MAY_BE_ARRAY|MAY_BE_BOOL)
- ZEND_ARG_TYPE_INFO(0, host, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, sec_name, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, sec_level, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, auth_protocol, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, auth_passphrase, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, priv_protocol, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, priv_passphrase, IS_STRING, 0)
- ZEND_ARG_INFO(0, object_id)
- ZEND_ARG_TYPE_INFO(0, timeout, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, retries, IS_LONG, 0, "UNKOWN")
-ZEND_END_ARG_INFO()
+#define arginfo_snmp3_getnext arginfo_snmp3_get
#define arginfo_snmp3_walk arginfo_snmp3_get