mirror of
https://github.com/php/php-src.git
synced 2024-12-12 03:15:29 +08:00
4a7e83f54a
of course we can try to refactor the current flow to make this error can be catched safly. but as 7.0.0 is releasing, I don't think a refactor is safe now. and actually I don't see any gain to make this catchable. so let's keep this be consistent with 5.6 and safe for now
14 lines
265 B
PHP
14 lines
265 B
PHP
--TEST--
|
|
Bug #65593 (ob_start(function(){ob_start();});)
|
|
--FILE--
|
|
<?php
|
|
echo "Test\n";
|
|
|
|
ob_start(function(){ob_start();});
|
|
?>
|
|
--EXPECTF--
|
|
Test
|
|
|
|
Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in %sbug65593.php on line %d
|
|
|