Re: The open letter to Derick Rethans <derick@php.net>
| From: | Rasmus Lerdorf | Date: | Wed, 16 Jun 2004 17:05:29 +0000 |
| Subject: | Re: The open letter to Derick Rethans <derick@php.net> | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10533@lists.php.net to get a copy of this message | ||
On Wed, 16 Jun 2004, Alexander Valyalkin wrote:
> On Wed, 16 Jun 2004 07:05:32 -0700 (Pacific Standard Time), Rasmus Lerdorf
> <rasmus@php.net> wrote:
>
> >> As Alexander's initial re-implementation of crc32() was broken on 64-bit
> >> architectures, I think this is a very good point.
> >
> > And his stripslashes() "improvement" actually broke backward
> > compatibility
> > and would have broken thousands of working scripts out there. That set
> > the tone for me for the rest of the patches.
> >
> > -Rasmus
>
> Yes, my stripslahses() improvement broke backward compatibility.
> But can you show me at least one script which it'll brake?
> Or show me real-life example, which my improvement will brake.
> And do not forget about following bugs: #9437, #19947, #27848,
> which have been fixed in my stripslashes() function.
You have no idea how people use functions. Changing them because you
don't think they use them in a certain way is not a decision you can make.
And yes, looking through cvs here I do see a couple of instances of
stripslashes being used to strip strings where the slashes may not have
been solely introduced by the addslashes logic.
And why do you keep referring to bogus bug reports?
At most it is a documentation bug that it isn't clear that stripslashes()
doesn't only strip the slashes added by addslashes.
-Rasmus