mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Bug #21751: Part one never let this happen again...
This commit is contained in:
parent
ef021e8964
commit
a7d10f8aa4
@ -70,9 +70,14 @@ putenv('SSH_TTY=deleted');
|
||||
|
||||
$cwd = getcwd();
|
||||
set_time_limit(0);
|
||||
while(ob_get_level()) {
|
||||
ob_end_clean();
|
||||
}
|
||||
|
||||
// delete as much output buffers as possible
|
||||
$ob = ob_get_level();
|
||||
if ($ob) do {
|
||||
@ob_end_clean();
|
||||
} while(($ob > 1) && ($ob-- > ob_get_level()));
|
||||
if (ob_get_level()) echo "Not all buffers were deleted.\n";
|
||||
|
||||
error_reporting(E_ALL);
|
||||
ini_set('magic_quotes_runtime',0); // this would break tests by modifying EXPECT sections
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user