Skip to content

Commit b014967

Browse files
staabmsebastianbergmann
authored andcommitted
use named exception handler
1 parent add5e63 commit b014967

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/end-to-end/regression/5592-process-isolation-events.phpt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ $_SERVER['argv'][] = '--process-isolation';
88
$_SERVER['argv'][] = '--debug';
99
$_SERVER['argv'][] = __DIR__ . '/5592/Issue5592TestIsolation.php';
1010

11-
set_exception_handler(static fn () => null);
11+
function global5592IsolationEventsExceptionHandler(Throwable $exception): void
12+
{
13+
}
14+
15+
set_exception_handler('global5592IsolationEventsExceptionHandler');
1216

1317
require_once __DIR__ . '/../../bootstrap.php';
1418
(new PHPUnit\TextUI\Application)->run($_SERVER['argv']);

0 commit comments

Comments
 (0)