|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-07-10 03:39 UTC] 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;
}
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 11:00:02 2025 UTC |
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.