[PHP] Re: bug in str_replace() ?

2001-10-21 Thread Christian Kuhtz
Martin Lindhe wrote: > > Bug in str_replace(), PHP 4.0.6 > > $text = "hello world"; > $out = str_replace(" "," ",$text); > echo $out; > > Expected output: > "hello world" > > Actual output: > "hello world" > > Of course, this is what happens if str_

[PHP] Re: bug in str_replace() ?

2001-10-21 Thread Henrik Hansen
[EMAIL PROTECTED] (Martin Lindhe) wrote: > Bug in str_replace(), PHP 4.0.6 > > $text = "hello world"; > $out = str_replace(" "," ",$text); > echo $out; > > Expected output: > "hello world" > > Actual output: > "hello world" > > Of course, this is w