summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2021-01-24 17:58:51 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-01-24 17:58:51 +0100
commit34041e6c57ee1148c981ddb46e32f804303523ef (patch)
tree7d07fc5b8bdc0e9b5980da48d87103343e16d560
parent062a891be7bb83a7d7464e7b508f4c4453d76e14 (diff)
parenta86443f5a35b9bba087fd78500290f5172ce38d5 (diff)
downloadphp-git-34041e6c57ee1148c981ddb46e32f804303523ef.tar.gz
Merge branch 'PHP-8.0'
* PHP-8.0: Add missing stub for SNMPException
-rw-r--r--ext/snmp/snmp.stub.php4
-rw-r--r--ext/snmp/snmp_arginfo.h7
2 files changed, 10 insertions, 1 deletions
diff --git a/ext/snmp/snmp.stub.php b/ext/snmp/snmp.stub.php
index 25ad96d033..e6e0cb22eb 100644
--- a/ext/snmp/snmp.stub.php
+++ b/ext/snmp/snmp.stub.php
@@ -104,3 +104,7 @@ class SNMP
/** @return string */
public function getError() {}
}
+
+class SNMPException extends RuntimeException
+{
+}
diff --git a/ext/snmp/snmp_arginfo.h b/ext/snmp/snmp_arginfo.h
index 7a91113c50..52e7e7040d 100644
--- a/ext/snmp/snmp_arginfo.h
+++ b/ext/snmp/snmp_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 68d61381ba27923bb68d6d9c6e5d5e8ff296cc90 */
+ * Stub hash: 32433e63feea7cc46737000498e248da713ab5a3 */
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_snmpget, 0, 3, stdClass, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_BOOL)
ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
@@ -236,3 +236,8 @@ static const zend_function_entry class_SNMP_methods[] = {
ZEND_ME(SNMP, getError, arginfo_class_SNMP_getError, ZEND_ACC_PUBLIC)
ZEND_FE_END
};
+
+
+static const zend_function_entry class_SNMPException_methods[] = {
+ ZEND_FE_END
+};