summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/xmlrpc/xmlrpc.stub.php3
-rw-r--r--ext/xmlrpc/xmlrpc_arginfo.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/ext/xmlrpc/xmlrpc.stub.php b/ext/xmlrpc/xmlrpc.stub.php
index e2805bd43f..c8e712248c 100644
--- a/ext/xmlrpc/xmlrpc.stub.php
+++ b/ext/xmlrpc/xmlrpc.stub.php
@@ -10,6 +10,9 @@ function xmlrpc_decode_request(string $xml, &$method, string $encoding = "iso-88
function xmlrpc_encode_request(?string $method, $params, array $output_options = UNKNOWN): ?string {}
+/** @param mixed $value */
+function xmlrpc_get_type($value): string {}
+
function xmlrpc_set_type(&$value, string $type): bool {}
function xmlrpc_is_fault(array $arg): bool {}
diff --git a/ext/xmlrpc/xmlrpc_arginfo.h b/ext/xmlrpc/xmlrpc_arginfo.h
index 5beecc99e6..dbb5980e0a 100644
--- a/ext/xmlrpc/xmlrpc_arginfo.h
+++ b/ext/xmlrpc/xmlrpc_arginfo.h
@@ -21,6 +21,10 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlrpc_encode_request, 0, 2, IS_
ZEND_ARG_TYPE_INFO(0, output_options, IS_ARRAY, 0)
ZEND_END_ARG_INFO()
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlrpc_get_type, 0, 1, IS_STRING, 0)
+ ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO()
+
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlrpc_set_type, 0, 2, _IS_BOOL, 0)
ZEND_ARG_INFO(1, value)
ZEND_ARG_TYPE_INFO(0, type, IS_STRING, 0)