mirror of
https://github.com/php/php-src.git
synced 2024-10-18 06:52:34 +00:00
16 lines
353 B
PHP
16 lines
353 B
PHP
--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
|