Skip to content

Commit 5ae74b0

Browse files
Fix bad upmerge from GH-18464
This led to recursion being added to but not removed from internal constants.
1 parent 5a7920b commit 5ae74b0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/zend_constants.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,6 @@ ZEND_API zval *zend_get_class_constant_ex(zend_string *class_name, zend_string *
377377
/* Recursion protection only applied to user constants, GH-18463 */
378378
CONST_PROTECT_RECURSION(c);
379379
}
380-
CONST_PROTECT_RECURSION(c);
381380
zend_deprecated_class_constant(c, constant_name);
382381
if (c->ce->type == ZEND_USER_CLASS) {
383382
CONST_UNPROTECT_RECURSION(c);

0 commit comments

Comments
 (0)