From 88d6e7c238289658f7a614cad6dcfce96d8ffbfc Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 17 May 2025 12:44:57 +0100 Subject: [PATCH 1/2] fix regex typo for GH-18577 new test --- Zend/tests/gh18572.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/tests/gh18572.phpt b/Zend/tests/gh18572.phpt index 46361abe966..5b877d74572 100644 --- a/Zend/tests/gh18572.phpt +++ b/Zend/tests/gh18572.phpt @@ -36,4 +36,4 @@ try { } ?> --EXPECTREGEX-- -(Maximum call stack size reached during object comparison|Fatal error: Nesting level too deep - recursive dependency?.+) +(Maximum call stack size reached during object comparison|Fatal error: Nesting level too deep - recursive dependency\?.+) From 68abc19229272219c3755541abb90a8b02149305 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 17 May 2025 11:41:15 +0100 Subject: [PATCH 2/2] Follow-up on GH-18577, adjust new test due to change on nested objects. --- Zend/tests/gh18572.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/tests/gh18572.phpt b/Zend/tests/gh18572.phpt index 5b877d74572..ff178ebef24 100644 --- a/Zend/tests/gh18572.phpt +++ b/Zend/tests/gh18572.phpt @@ -36,4 +36,4 @@ try { } ?> --EXPECTREGEX-- -(Maximum call stack size reached during object comparison|Fatal error: Nesting level too deep - recursive dependency\?.+) +(Maximum call stack size reached during object comparison|Nesting level too deep - recursive dependency\?)