ru_php/tests/output/gh15181.phpt

16 lines
237 B
PHP

--TEST--
Fix GH-15181 (Disabled output handler is flushed again)
--FILE--
<?php
ob_start(function () {
throw new Exception('ob_start');
});
try {
ob_flush();
} catch (Throwable) {}
ob_flush();
?>
===DONE===
--EXPECT--
===DONE===