From f971672c8e60a01aa700f0301fd26fbadc1911e4 Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Mon, 26 May 2025 11:53:34 -0700 Subject: [PATCH] Fix bad upmerge from GH-18464 This led to recursion being added to but not removed from internal constants. --- Zend/zend_constants.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Zend/zend_constants.c b/Zend/zend_constants.c index 1e6ad5a69dd33..9a184bd931584 100644 --- a/Zend/zend_constants.c +++ b/Zend/zend_constants.c @@ -377,7 +377,6 @@ ZEND_API zval *zend_get_class_constant_ex(zend_string *class_name, zend_string * /* Recursion protection only applied to user constants, GH-18463 */ CONST_PROTECT_RECURSION(c); } - CONST_PROTECT_RECURSION(c); zend_deprecated_class_constant(c, constant_name); if (c->ce->type == ZEND_USER_CLASS) { CONST_UNPROTECT_RECURSION(c);