diff --git a/ext/dom/tests/modern/xml/gh22570.phpt b/ext/dom/tests/modern/xml/gh22570.phpt index 3d648aac5e4d..11ce304b6b6a 100644 --- a/ext/dom/tests/modern/xml/gh22570.phpt +++ b/ext/dom/tests/modern/xml/gh22570.phpt @@ -18,7 +18,7 @@ zend.max_allowed_stack_size=512K // Build bottom-up so the insertion cycle-check stays O(1); top-down is O(n^2). $doc = Dom\XMLDocument::createEmpty(); $node = $doc->createElement('a'); -for ($i = 0; $i < 100000; $i++) { +for ($i = 0; $i < 10000; $i++) { $parent = $doc->createElement('a'); $parent->appendChild($node); $node = $parent;