Commit 032e5f67746 for php.net

commit 032e5f6774694bfd64311387a205a7aec39c4fcb
Author: Gina Peter Banyard <girgias@php.net>
Date:   Mon Mar 9 16:14:06 2026 +0000

    Zend: mark arg_info parameters of zend_do_perform_arg_type_hint_check() const

diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c
index 3313b075586..93186f439d2 100644
--- a/Zend/zend_inheritance.c
+++ b/Zend/zend_inheritance.c
@@ -763,8 +763,8 @@ static inheritance_status zend_perform_covariant_type_check(
 }

 static inheritance_status zend_do_perform_arg_type_hint_check(
-		zend_class_entry *fe_scope, zend_arg_info *fe_arg_info,
-		zend_class_entry *proto_scope, zend_arg_info *proto_arg_info) /* {{{ */
+		zend_class_entry *fe_scope, const zend_arg_info *fe_arg_info,
+		zend_class_entry *proto_scope, const zend_arg_info *proto_arg_info) /* {{{ */
 {
 	if (!ZEND_TYPE_IS_SET(fe_arg_info->type) || ZEND_TYPE_PURE_MASK(fe_arg_info->type) == MAY_BE_ANY) {
 		/* Child with no type or mixed type is always compatible */