summaryrefslogtreecommitdiff
path: root/tests/output/ob_011.phpt
blob: a90fd56f8396c56c83ebb6d55e0cf74dc878f8b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
output buffering - fatalism
--XFAIL--
This test will fail until the fix in revision r214155 is backported from php 6
--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