note 25527 added to function.ob-end-flush

From: Date: Thu, 26 Sep 2002 18:01:16 +0000
Subject: note 25527 added to function.ob-end-flush
Groups: php.notes 
Request: Send a blank email to php-notes+get-37295@lists.php.net to get a copy of this message
It appears that you can call ob_end_flush() regardless of whether or not output buffering was ever started using ob_start(). This can prove useful because it saves you from having to create conditional statements based on whether a particular function or include file has started output buffering. You can simply call the ob_end_flush() anyway and if there's output in the buffer, it will be sent, otherwise your script will just keep on keepin' on. -- http://www.php.net/manual/en/function.ob-end-flush.php http://master.php.net/manage/user-notes.php?action=edit+25527 http://master.php.net/manage/user-notes.php?action=delete+25527 http://master.php.net/manage/user-notes.php?action=reject+25527

« previous php.notes (#37295) next »