mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
14 lines
264 B
PHP
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
|