| // +----------------------------------------------------------------------+ // // $Id: ob_get_flush.php,v 1.2 2007-01-18 09:02:28 kostja Exp $ // /** * Replace ob_get_flush() * * @category PHP * @package PHP_Compat * @link http://php.net/ob_get_flush * @author Aidan Lister * @author Thiemo Mättig (http://maettig.com/) * @version $Revision: 1.2 $ * @since PHP 4.3.0 * @require PHP 4.0.1 (trigger_error) */ if (!function_exists('ob_get_flush')) { function ob_get_flush () { $contents = ob_get_contents(); if ($contents !== false) { ob_end_flush(); } return $contents; } } ?>