Skip to content

Commit 479ae8d

Browse files
committed
Fix tests
1 parent 86f3294 commit 479ae8d

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎Zend/tests/gh11189_1.phpt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ while (1) {
2929

3030
?>
3131
--EXPECTF--
32-
Fatal error: Allowed memory size of 2097152 bytes exhausted %S(tried to allocate %d bytes) in %s on line %d
32+
Fatal error: Allowed memory size of 4194304 bytes exhausted %S(tried to allocate %d bytes) in %s on line %d

‎Zend/tests/oom_SplFixedArray___wakeup.phpt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
OOM SplFixedArray::fromArray() 003
33
--INI--
4-
memory_limit=16M
4+
memory_limit=18M
55
--FILE--
66
<?php
77

@@ -18,4 +18,4 @@ $a->__wakeup();
1818
--EXPECTF--
1919
Deprecated: Method SplFixedArray::__wakeup() is deprecated since 8.4, this method is obsolete, as serialization hooks are provided by __unserialize() and __serialize() in %s on line %d
2020

21-
Fatal error: Allowed memory size of 16777216 bytes exhausted %S(tried to allocate %d bytes) in %s on line 10
21+
Fatal error: Allowed memory size of 18874368 bytes exhausted %S(tried to allocate %d bytes) in %s on line 10
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
OOM json_decode() empty objects
33
--INI--
4-
memory_limit=10M
4+
memory_limit=12M
55
--FILE--
66
<?php
77

@@ -11,4 +11,4 @@ var_dump(json_decode($json));
1111

1212
?>
1313
--EXPECTF--
14-
Fatal error: Allowed memory size of 10485760 bytes exhausted %S(tried to allocate %d bytes) in %s on line 5
14+
Fatal error: Allowed memory size of 12582912 bytes exhausted %S(tried to allocate %d bytes) in %s on line 5

‎ext/standard/tests/strings/wordwrap_memory_limit_003.phpt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (getenv("USE_ZEND_ALLOC") === "0") {
77
}
88
?>
99
--INI--
10-
memory_limit=10M
10+
memory_limit=12M
1111
--FILE--
1212
<?php
1313

@@ -16,4 +16,4 @@ var_dump(wordwrap($str, 80, "\r\n", false));
1616

1717
?>
1818
--EXPECTF--
19-
Fatal error: Allowed memory size of 10485760 bytes exhausted%s(tried to allocate %d bytes) in %s on line 4
19+
Fatal error: Allowed memory size of 12582912 bytes exhausted%s(tried to allocate %d bytes) in %s on line 4

‎ext/standard/tests/strings/wordwrap_memory_limit_004.phpt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (getenv("USE_ZEND_ALLOC") === "0") {
77
}
88
?>
99
--INI--
10-
memory_limit=8M
10+
memory_limit=10M
1111
--FILE--
1212
<?php
1313

@@ -18,4 +18,4 @@ wordwrap($str, strlen($str), "\r\n", false);
1818

1919
?>
2020
--EXPECTF--
21-
Fatal error: Allowed memory size of 8388608 bytes exhausted%s(tried to allocate %d bytes) in %s on line 6
21+
Fatal error: Allowed memory size of 10485760 bytes exhausted%s(tried to allocate %d bytes) in %s on line 6

0 commit comments

Comments
 (0)