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