public static function flushOutputBuffers() {
		$obContent = '';

		while ($content = ob_get_clean()) {
			$obContent .= $content;
		}

			// if previously a "Content-Encoding: whatever" has been set, we have to unset it
		if (!headers_sent()) {
			$headersList = headers_list();
			foreach ($headersList as $header) {
					// split it up at the :
				list($key, $value) = self::trimExplode(':', $header, TRUE);
					// check if we have a Content-Encoding other than 'None'
				if (strtolower($key) === 'content-encoding' && strtolower($value) !== 'none') {
					header('Content-Encoding: None');
					break;
				}
			}
		}
		echo $obContent;
	}
public static function flushOutputBuffers() {
		$obContent = '';

		while ($content = ob_get_clean()) {
			$obContent .= $content;
		}

			// if previously a "Content-Encoding: whatever" has been set, we have to unset it
		if (!headers_sent()) {
			$headersList = headers_list();
			foreach ($headersList as $header) {
					// split it up at the :
				list($key, $value) = self::trimExplode(':', $header, TRUE);
					// check if we have a Content-Encoding other than 'None'
				if (strtolower($key) === 'content-encoding' && strtolower($value) !== 'none') {
					header('Content-Encoding: None');
					break;
				}
			}
		}
		echo $obContent;
	}
public static function flushOutputBuffers ( ) { $ obContent = '' ; while ( $ content = ob_get_clean ( ) ) { $ obContent .= $ content ; } // if previously a "Content-Encoding: whatever" has been set, we have to unset it if ( ! headers_sent ( ) ) { $ headersList = headers_list ( ) ; foreach ( $ headersList as $ header ) { // split it up at the : list ( $ key , $ value ) = self :: trimExplode ( ':' , $ header , TRUE ) ; // check if we have a Content-Encoding other than 'None' if ( strtolower ( $ key ) === 'content-encoding' && strtolower ( $ value ) !== 'none' ) { header ( 'Content-Encoding: None' ) ; break ; } } } echo $ obContent ; }
Ends and flushes all output buffers

@return void
Ends and flushes all output buffers