xref: /PHP-8.2/tests/output/ob_014.phpt (revision 9975986b)
1--TEST--
2output buffering - failure
3--FILE--
4<?php
5ob_start("str_rot13");
6echo "foo\n";
7try {
8    ob_end_flush();
9} catch (TypeError $e) {
10    echo $e->getMessage(), "\n";
11}
12?>
13--EXPECT--
14foo
15str_rot13() expects exactly 1 argument, 2 given
16