note 114967 added to function.ob-clean

From: Date: Wed, 07 May 2014 15:41:00 +0000
Subject: note 114967 added to function.ob-clean
Groups: php.notes 
Request: Send a blank email to php-notes+get-199475@lists.php.net to get a copy of this message
In case there is nothing output yet to the buffer and then implementing the ob_clean() a (soft) error notice would be generated such as the following: Notice: ob_clean() [ref.outcontrol]: failed to delete buffer. No buffer to delete. in [file-path] you could do a simple check with "ob_get_contents()" to make sure that there is anything in the buffer. ---- Server IP: 72.52.91.14 Probable Submitter: 216.138.225.130 ---- Manual Page -- http://php.net/manual/en/function.ob-clean.php Edit -- https://master.php.net/note/edit/114967 Del: integrated -- https://master.php.net/note/delete/114967/integrated Del: useless -- https://master.php.net/note/delete/114967/useless Del: bad code -- https://master.php.net/note/delete/114967/bad+code Del: spam -- https://master.php.net/note/delete/114967/spam Del: non-english -- https://master.php.net/note/delete/114967/non-english Del: in docs -- https://master.php.net/note/delete/114967/in+docs Del: other reasons-- https://master.php.net/note/delete/114967 Reject -- https://master.php.net/note/reject/114967 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#199475) next »