On Oct 25, 2005, at 11:03 AM, Christopher A. Watford wrote:
Just because the str_replace memory is no longer being used does not mean PHP removed it from the current page's working memory set. PHP is lazy to speed up allocation and page runtime.
This is a case for pass-by-reference.
Wow, I guess you learn something new every day. I have never *had*
to debug memory usage before. Is there already a bug report for
this error. Perhaps we could work around it by using the pass-by-
reference.
I'll try it out myself and post the results.
--lonnie