php-src/tests/output/ob_011.phpt
2007-04-18 08:09:02 +00:00

14 lines
264 B
PHP

--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