Skip to content

Commit aaac439

Browse files
committed
test fix attempt
1 parent c6df43d commit aaac439

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

ext/standard/tests/gh20840.phpt renamed to ext/standard/tests/general_functions/gh20840.phpt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,17 @@
22
GH-20840 (var_dump() crash with nested objects)
33
--CREDITS--
44
bendrissou
5+
--SKIPIF--
6+
<?php
7+
if (ini_get('zend.max_allowed_stack_size') === false) {
8+
die('skip No stack limit support');
9+
}
10+
if (getenv('SKIP_ASAN')) {
11+
die('skip ASAN needs different stack limit setting due to more stack space usage');
12+
}
13+
?>
514
--INI--
6-
memory_limit=-1
15+
zend.max_allowed_stack_size=512K
716
--FILE--
817
<?php
918
class Node {

0 commit comments

Comments
 (0)