#24579 [Opn->Bgs]: output buffering dont work

From: Date: Sat, 12 Jul 2003 13:06:21 +0000
Subject: #24579 [Opn->Bgs]: output buffering dont work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-43807@lists.php.net to get a copy of this message
ID: 24579 Updated by: elmicha@php.net Reported By: lr at bestheads dot com -Status: Open +Status: Bogus Bug Type: Output Control Operating System: Linux PHP Version: 4.3.2 New Comment: I can't reproduce this with PHP 4.3.2. To make your script complete, I appended: ob_start("callback"); echo "bla %TITLE% bla"; ob_end_flush(); and the PHP tags. If you can provide a _complete_, short script to reproduce this problem, feel free to re-open this bug. Previous Comments: ------------------------------------------------------------------------ [2003-07-10 03:39:20] lr at bestheads dot com Description: ------------ could be related to #24121 have a site wich use outout buffering (ob_start("callback") (in the callback funktion i do some str_replace 's ) in 4.3.1 it worked perfekt. in 4.3.2 it does not work. it seems the callback funktion is not called. if you need further information let me know. Reproduce code: --------------- function callback($buffer){ $buffer2=$buffer; $buffer2=str_replace("%TITLE%","asdfadsf",$buffer2); return $buffer2; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24579&edit=1

« previous php.bugs (#43807) next »