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