Commit 16b3863d7dd for php.net

commit 16b3863d7ddd00872dcf6f2bbf5bb476174d0de2
Author: Gina Peter Banyard <girgias@php.net>
Date:   Sat Aug 22 13:36:38 2026 +0100

    snmp: use zend_result type instead of int type

diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 1a2770cd338..bcca8d44de8 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -1859,13 +1859,12 @@ zval *php_snmp_read_property(zend_object *object, zend_string *name, int type, v
 	zval *retval;
 	php_snmp_object *obj;
 	php_snmp_prop_handler *hnd;
-	int ret;

 	obj = php_snmp_fetch_object(object);
 	hnd = zend_hash_find_ptr(&php_snmp_properties, name);

 	if (hnd && hnd->read_func) {
-		ret = hnd->read_func(obj, rv);
+		zend_result ret = hnd->read_func(obj, rv);
 		if (ret == SUCCESS) {
 			retval = rv;
 		} else {