mirror of
https://github.com/php/php-src.git
synced 2026-04-23 07:58:20 +02:00
MFH: Simplify
This commit is contained in:
+1
-4
@@ -46,10 +46,7 @@ $cwd = getcwd();
|
||||
set_time_limit(0);
|
||||
|
||||
// delete as much output buffers as possible
|
||||
$ob = ob_get_level();
|
||||
if ($ob) do {
|
||||
@ob_end_clean();
|
||||
} while($ob>1 && $ob-- > ob_get_level());
|
||||
while(ob_end_clean());
|
||||
if (ob_get_level()) echo "Not all buffers were deleted.\n";
|
||||
|
||||
error_reporting(E_ALL);
|
||||
|
||||
Reference in New Issue
Block a user