note 87662 deleted from function.ob-get-clean by danbrown

From: Date: Mon, 15 Dec 2008 18:29:37 +0000
Subject: note 87662 deleted from function.ob-get-clean by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-148192@lists.php.net to get a copy of this message
Note Submitter: adrien dot dupuis at gmail dot com ---- to webmaster at ragnarokonline dot de You have shown that the name of this is function is misleading, it should have been named ob_get_end_clean. There is no direct function to get, clean and continue with the same buffer. <? ob_start(); ?> plain <? $slice1 = ob_get_contents(); ob_clean(); ?> text <? $slice2 = ob_get_clean(); ?> <?=$slice1?><hr /><?=$slice2?>

« previous php.notes (#148192) next »