On Tue, Jul 03, 2001 at 03:07:37AM +0200, Andre Langhorst wrote:
> >Just one thing I did want to point out - this has nothing to do with
> >Zend 3 or whatever. I oppose this feature not because lack of time to
> >implement it or because it's difficult to implement, but because it
> >doesn't be
> Just one thing I did want to point out - this has nothing to do with
> Zend 3 or whatever. I oppose this feature not because lack of time to
> implement it or because it's difficult to implement, but because it
> doesn't belong in PHP. Personally, I wouldn't want to see it even in
> PHP 7.
On Fri, 29 Jun 2001, Jeroen van Wolffelaar wrote:
> Yes, of course. But in a loop when you use for ($i=-3; $i<=0; $i--)... I've
> had this twice, I needed to make special case for the last possibility.
This works fine: $i will contain, -3, -2, -1 and 0 (and not -0), but
indeed I agree that subs
On Fri, 29 Jun 2001, Jeroen van Wolffelaar wrote:
> > This works fine: $i will contain, -3, -2, -1 and 0 (and not -0), but
> > indeed I agree that substr ('str', 0, 0) should return this: 'str'. This
> > change can be easily made in the current sources. If nobody objects, I'll
> > change it.
>
>
> > Yes, of course. But in a loop when you use for ($i=-3; $i<=0; $i--)...
I've
> > had this twice, I needed to make special case for the last possibility.
>
> This works fine: $i will contain, -3, -2, -1 and 0 (and not -0), but
> indeed I agree that substr ('str', 0, 0) should return this: 'str'