[FIX] fixed bug&wish list #5120, it caused ob_end_clean(): failed to delete buffer zlib output compression.