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