Skip to content

Commit 24028f3

Browse files
committed
wip
1 parent 8b7501b commit 24028f3

5 files changed

Lines changed: 5 additions & 5 deletions

tests/phpt-oom/out_of_memory_fatal_error_increases_memory_limit.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ for ($i = 0; $i < 100000000; ++$i) {
7272
}
7373
--EXPECTREGEX--
7474
Before OOM memory limit: 67108864
75-
Fatal error: Allowed memory size of 67108864 bytes exhausted \(tried to allocate 67108872 bytes\) in Standard input code on line 66
75+
Fatal error: Allowed memory size of 67108864 bytes exhausted \(tried to allocate 67108872 bytes\) in .* on line 66
7676
(Stack trace:)?
7777
(#0 {main})?
7878
Transport called

tests/phpt/error_handler_captures_fatal_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ final class TestClass implements \JsonSerializable
6868
}
6969
?>
7070
--EXPECTREGEX--
71-
Fatal error: Class Sentry\\Tests\\TestClass contains 1 abstract method and must therefore be declared abstract or implement the remaining methods? \(JsonSerializable::jsonSerialize\) in Standard input code on line 63
71+
Fatal error: Class Sentry\\Tests\\TestClass contains 1 abstract method and must therefore be declared abstract or implement the remaining methods? \(JsonSerializable::jsonSerialize\) in .* on line 63
7272
(Stack trace:)?
7373
(#0 {main})?
7474
Transport called

tests/phpt/error_handler_captures_out_of_memory_fatal_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $foo = str_repeat('x', 1024 * 1024 * 1024);
3434
?>
3535
--EXPECTREGEX--
3636
Before OOM memory limit: 67108864
37-
Fatal error: Allowed memory size of 67108864 bytes exhausted \(tried to allocate 1073741856 bytes\) in Standard input code on line 28
37+
Fatal error: Allowed memory size of 67108864 bytes exhausted \(tried to allocate 1073741856 bytes\) in .* on line 28
3838
(Stack trace:)?
3939
(#0 Standard input code\(28\): str_repeat\('x', 1073741824\))?
4040
(#1 {main})?

tests/phpt/fatal_error_integration_captures_fatal_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ final class TestClass implements \JsonSerializable
5858
}
5959
?>
6060
--EXPECTREGEX--
61-
^Fatal error: Class Sentry\\Tests\\TestClass contains 1 abstract methods? and must therefore be declared abstract or implement the remaining methods? \(JsonSerializable::jsonSerialize\) in Standard input code on line 53
61+
^Fatal error: Class Sentry\\Tests\\TestClass contains 1 abstract methods? and must therefore be declared abstract or implement the remaining methods? \(JsonSerializable::jsonSerialize\) in .* on line 53
6262
(Stack trace:)?
6363
(#0 {main})?
6464
Transport called\R?$

tests/phpt/fatal_error_integration_respects_error_types_option.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ final class TestClass implements \JsonSerializable
5959
}
6060
?>
6161
--EXPECTREGEX--
62-
Fatal error: Class Sentry\\Tests\\TestClass contains 1 abstract method and must therefore be declared abstract or implement the remaining methods? \(JsonSerializable::jsonSerialize\) in Standard input code on line 54
62+
Fatal error: Class Sentry\\Tests\\TestClass contains 1 abstract method and must therefore be declared abstract or implement the remaining methods? \(JsonSerializable::jsonSerialize\) in .* on line 54

0 commit comments

Comments
 (0)