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 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.

regards,
Derick


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to