RE: #31098 [Csd]: isset false positive
| From: | Dmitry Stogov | Date: | Fri, 14 Jan 2005 09:07:49 +0000 |
| Subject: | RE: #31098 [Csd]: isset false positive | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14390@lists.php.net to get a copy of this message | ||
Hi Moriyoshi,
I restored old behavior, so now $str["str"] is eqivalent of $str[0].
Thanks. Dmitry.
> -----Original Message-----
> From: Moriyoshi Koizumi [mailto:moriyoshi@at.wakwak.com]
> Sent: Thursday, January 13, 2005 17:28
> To: dmitry@zend.com
> Cc: 'internals Mailing List Developers'
> Subject: Re: #31098 [Csd]: isset false positive
>
>
>
> On 2005/01/13, at 15:21, <dmitry@zend.com> wrote:
>
> >> I don't quite agree with you. Indeed it's semantically
> wrong, yet I
> >> think we leave it to behave as in ZE1, in terms of backwards
> >> compatibility.
> >
> > I don't think we must make compatibility for bugs.
>
> Users don't consider a certain behaviour that lasts for years
> the way we do to be a bug, even if it is inconsistent and
> rationally wrong, since they often got used to it and
> supposedly developed some workaround for it while we can
> rarely predict how they code with it and cope with it.
>
> Thus we should think of what the word "backwards
> compatibility" does actually mean.
>
> Moriyoshi
>
>