summaryrefslogtreecommitdiff
path: root/tests/output/ob_011.phpt
blob: 35b038833907fba53c87d40a5d7193db73a1262c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
output buffering - fatalism
--FILE--
<?php
function obh($s)
{
	return ob_get_flush();
}
ob_start("obh");
echo "foo\n";
?>
--EXPECTF--
Fatal error: ob_get_flush(): Cannot use output buffering in output buffering display handlers in %sob_011.php on line %d