xref: /PHP-8.4/tests/output/gh15181.phpt (revision 887e6b9c)
1--TEST--
2Fix GH-15181 (Disabled output handler is flushed again)
3--FILE--
4<?php
5ob_start(function () {
6    throw new Exception('ob_start');
7});
8try {
9    ob_flush();
10} catch (Throwable) {}
11ob_flush();
12?>
13===DONE===
14--EXPECT--
15===DONE===
16