Commit 1b2bde474ab for php

commit 1b2bde474ab06e5b4303754cc4b91ecb7eeee1a9
Author: Arshid <arshidkv12@gmail.com>
Date:   Fri Oct 2 17:10:53 2026 +0530

    ext/opcache: use ZVAL_COPY_DEREF (#24071)

diff --git a/ext/opcache/jit/zend_jit_helpers.c b/ext/opcache/jit/zend_jit_helpers.c
index 660a17c0568..ec8554aa185 100644
--- a/ext/opcache/jit/zend_jit_helpers.c
+++ b/ext/opcache/jit/zend_jit_helpers.c
@@ -2837,8 +2837,7 @@ static void ZEND_FASTCALL zend_jit_assign_to_typed_prop(zval *property_val, zend
 		return;
 	}

-	ZVAL_DEREF(value);
-	ZVAL_COPY(&tmp, value);
+	ZVAL_COPY_DEREF(&tmp, value);

 	if (UNEXPECTED(!zend_verify_property_type(info, &tmp, EX_USES_STRICT_TYPES()))) {
 		zval_ptr_dtor(&tmp);
@@ -2992,8 +2991,7 @@ static void ZEND_FASTCALL zend_jit_inc_typed_prop(zval *var_ptr, zend_property_i
 	zend_execute_data *execute_data = EG(current_execute_data);
 	zval tmp;

-	ZVAL_DEREF(var_ptr);
-	ZVAL_COPY(&tmp, var_ptr);
+	ZVAL_COPY_DEREF(&tmp, var_ptr);

 	increment_function(var_ptr);

@@ -3024,8 +3022,7 @@ static void ZEND_FASTCALL zend_jit_dec_typed_prop(zval *var_ptr, zend_property_i
 	zend_execute_data *execute_data = EG(current_execute_data);
 	zval tmp;

-	ZVAL_DEREF(var_ptr);
-	ZVAL_COPY(&tmp, var_ptr);
+	ZVAL_COPY_DEREF(&tmp, var_ptr);

 	decrement_function(var_ptr);