#19084 [Opn->Fbk]: str_replace cannot handle strings > 32 kb

From: Date: Sat, 24 Aug 2002 14:53:11 +0000
Subject: #19084 [Opn->Fbk]: str_replace cannot handle strings > 32 kb
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17760@lists.php.net to get a copy of this message
ID: 19084 Updated by: derick@php.net Reported By: armandgs@hotmail.com -Status: Open +Status: Feedback Bug Type: Strings related Operating System: Windows 2000 PHP Version: 4.2.2 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-08-24 10:31:34] armandgs@hotmail.com To generate the output of my scripts I generally execute code like: echo str_replace("{body}", show_results(), implode ('', file ('template.html'))); so I put my output inside the page. when the output generated by show_results() is > 32kb I get the page cannot be displayed error, random garbage in the output or just incomplete output. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19084&edit=1

« previous php.bugs (#17760) next »