char *ssl_parm[5];
size_t ssl_parm_len[5], i;
- if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Osssss", &mysql_link, mysqli_link_class_entry, &ssl_parm[0], &ssl_parm_len[0], &ssl_parm[1], &ssl_parm_len[1], &ssl_parm[2], &ssl_parm_len[2], &ssl_parm[3], &ssl_parm_len[3], &ssl_parm[4], &ssl_parm_len[4]) == FAILURE) {
+ if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os!s!s!s!s!", &mysql_link, mysqli_link_class_entry, &ssl_parm[0], &ssl_parm_len[0], &ssl_parm[1], &ssl_parm_len[1], &ssl_parm[2], &ssl_parm_len[2], &ssl_parm[3], &ssl_parm_len[3], &ssl_parm[4], &ssl_parm_len[4]) == FAILURE) {
RETURN_THROWS();
}
MYSQLI_FETCH_RESOURCE_CONN(mysql, mysql_link, MYSQLI_STATUS_INITIALIZED);
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 5a8b778eaa9efcca7d3ad8bfdbaa31d9d07b25e8 */
+ * Stub hash: 36c7ee22aa4c5bb5e0174031a3defcaaadde0dbd */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_affected_rows, 0, 1, MAY_BE_LONG|MAY_BE_STRING)
ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_ssl_set, 0, 6, _IS_BOOL, 0)
ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
- ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, certificate, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, ca_certificate, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, ca_path, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, cipher_algos, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, certificate, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, ca_certificate, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, ca_path, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, cipher_algos, IS_STRING, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_stat, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
#define arginfo_class_mysqli_set_opt arginfo_class_mysqli_options
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_ssl_set, 0, 0, 5)
- ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, certificate, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, ca_certificate, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, ca_path, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, cipher_algos, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, certificate, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, ca_certificate, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, ca_path, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, cipher_algos, IS_STRING, 1)
ZEND_END_ARG_INFO()
#define arginfo_class_mysqli_stat arginfo_class_mysqli_character_set_name