summaryrefslogtreecommitdiff
path: root/tests/output/ob_014.phpt
blob: bc46f2ae580c175af3e41a18133a74af0f4902ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
output buffering - failure
--FILE--
<?php
ob_start("str_rot13");
echo "foo\n";
try {
    ob_end_flush();
} catch (TypeError $e) {
    echo $e->getMessage(), "\n";
}
?>
--EXPECT--
foo
str_rot13() expects exactly 1 parameter, 2 given