#19084 [NEW]: str_replace cannot handle strings > 32 kb

From: Date: Sat, 24 Aug 2002 14:31:35 +0000
Subject: #19084 [NEW]: str_replace cannot handle strings > 32 kb
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17759@lists.php.net to get a copy of this message
From: armandgs@hotmail.com Operating system: Windows 2000 PHP version: 4.2.2 PHP Bug Type: Strings related Bug description: str_replace cannot handle strings > 32 kb 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 bug report at http://bugs.php.net/?id=19084&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19084&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19084&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19084&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19084&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19084&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19084&r=support Expected behavior: http://bugs.php.net/fix.php?id=19084&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19084&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19084&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19084&r=globals

« previous php.bugs (#17759) next »