summaryrefslogtreecommitdiff
path: root/tests/output/ob_015.phpt
blob: 47c9b24be1642d91598010dc8cd279dbbe0989ba (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", 1);
try {
    echo "foo\n";
} catch (TypeError $e) {
    echo $e->getMessage(), "\n";
}
ob_end_flush();
?>
--EXPECT--
foo
str_rot13() expects exactly 1 argument, 2 given