Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60314 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58070 invoked from network); 25 Apr 2012 15:50:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Apr 2012 15:50:34 -0000 Authentication-Results: pb1.pair.com header.from=dsnytkine@Ultralogistics.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dsnytkine@Ultralogistics.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain Ultralogistics.com from 64.197.110.172 cause and error) X-PHP-List-Original-Sender: dsnytkine@Ultralogistics.com X-Host-Fingerprint: 64.197.110.172 thrud.alliantinternet.com Received: from [64.197.110.172] ([64.197.110.172:60623] helo=thrud.alliantinternet.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/63-33561-84D189F4 for ; Wed, 25 Apr 2012 11:50:32 -0400 Received: by thrud.alliantinternet.com (Postfix, from userid 1001) id 68B2E174317; Wed, 25 Apr 2012 11:50:29 -0400 (EDT) To: "'PHP Internals'" Date: Wed, 25 Apr 2012 11:50:27 -0400 Message-ID: <01ad01cd22fb$226766f0$673634d0$@alliantinternet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Thread-Index: Ac0i+yH1Gs6xSSCpQTWqeFy5NErEnw== Content-Language: en-us Subject: ob_start callback not fired with ob_get_clean() From: dsnytkine@Ultralogistics.com ("Dmitri Snytkine") I am wondering why the call to ob_get_clean and ob_get_contents does not trigger the callback function registered with ob_start('mycallback') I don't want to dump buffer to the browser but instead need to just store results in a variable, thus using ob_get_clean() but why it's my callback being executed during this call? It's actually in the documentation and ob_get_clean is not listed among the functions that trigger the callback. Is there a good reason why callback not fired for these functions? Dmitri Snytkine Web Developer Ultra Logistics, Inc. Phone: (888) 220-4640 x 2097 Fax: (888) 795-6642 E-Mail: dsnytkine@ultralogistics.com Web: www.ultralogistics.com "A Top 100 Logistics I.T. Provider in 2011"