Skip to content

Commit 4367315

Browse files
committed
[skip ci] Reduce zend.max_allowed_stack_size in gh20840.phpt
This test still fails on i386 Windows with "Allowed memory size of %d bytes exhausted" because the output buffer grows too big. My first intuition was to add a chunk_size to ob_start, but this won't work if the output buffer is flushed deep into the call stack, causing a premature or just a second stack limit error. So, reduce the stack size in an attempt to produce less output.
1 parent 1db1c7f commit 4367315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/general_functions/gh20840.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (getenv('SKIP_ASAN')) {
1212
}
1313
?>
1414
--INI--
15-
zend.max_allowed_stack_size=512K
15+
zend.max_allowed_stack_size=128K
1616
--FILE--
1717
<?php
1818
class Node {

0 commit comments

Comments
 (0)