Re: [PHP-DEV] Bug #24281

2003-06-22 Thread Marco Tabini
Take two (this time hopefully clearing the variable before resetting it): Index: string.c === RCS file: /repository/php4/ext/standard/string.c,v retrieving revision 1.391 diff -u -r1.391 string.c --- string.c20 Jun 2003 15:41:43 -

[PHP-DEV] Bug #24281

2003-06-22 Thread Marco Tabini
I stumbled upon bug #24281 while running a few test on the current HEAD for PHP5--it seems to me that it should be sufficient to change a single line of code to make str_replace() work as expected, but I'm not familiar enough with the internals to know whether my fix is good or not...so, here it is