summaryrefslogtreecommitdiff
path: root/ext/sockets/sockets_arginfo.h
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-09-04 14:01:09 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-09-07 19:02:02 +0200
commit628db3f3b5b28190997b3cb2f711b6853c074660 (patch)
tree0973924054a14ef956847db6e86a16aa438c7560 /ext/sockets/sockets_arginfo.h
parent2c96780e1c10c3c851608835411e21879a069199 (diff)
downloadphp-git-628db3f3b5b28190997b3cb2f711b6853c074660.tar.gz
Fix UNKNOWN default values in various extensions
Closes GH-6075
Diffstat (limited to 'ext/sockets/sockets_arginfo.h')
-rw-r--r--ext/sockets/sockets_arginfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sockets/sockets_arginfo.h b/ext/sockets/sockets_arginfo.h
index f02533324b..e7f4c04799 100644
--- a/ext/sockets/sockets_arginfo.h
+++ b/ext/sockets/sockets_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 8d03ee514902490691aa4a9b8801fbc10b5b9c26 */
+ * Stub hash: f2d1b412bf2e07c3e607aa6ebad25b19d882b98e */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_socket_select, 0, 4, MAY_BE_LONG|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(1, read_fds, IS_ARRAY, 1)
@@ -48,7 +48,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_socket_getsockname, 0, 2, _IS_BOOL, 0)
ZEND_ARG_OBJ_INFO(0, socket, Socket, 0)
ZEND_ARG_INFO(1, addr)
- ZEND_ARG_INFO(1, port)
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, port, "null")
ZEND_END_ARG_INFO()
#define arginfo_socket_getpeername arginfo_socket_getsockname
@@ -95,7 +95,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_socket_recvfrom, 0, 5, MAY_BE_LO
ZEND_ARG_TYPE_INFO(0, len, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, flags, IS_LONG, 0)
ZEND_ARG_INFO(1, name)
- ZEND_ARG_INFO(1, port)
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, port, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_socket_sendto, 0, 5, MAY_BE_LONG|MAY_BE_FALSE)