Re: Re: #21060 [Opn->Bgs]: range() gives warning and returns false when low == high

From: Date: Fri, 20 Dec 2002 13:52:42 +0000
Subject: Re: Re: #21060 [Opn->Bgs]: range() gives warning and returns false when low == high
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-92707@lists.php.net to get a copy of this message
On Fri, 20 Dec 2002, Andrei Zmievski wrote: > Let's postpone this until 4.3.1. It is not critical. I didn't say it was; I was just saying that I think it shouldn't be bogus :) Derick > > On Fri, 20 Dec 2002, Derick Rethans wrote: > > On 20 Dec 2002 iliaa@php.net wrote: > > > > > ID: 21060 > > > Updated by: iliaa@php.net > > > Reported By: cnb@freedomink.org > > > -Status: Open > > > +Status: Bogus > > > Bug Type: Arrays related > > > Operating System: Linux 2.4.18 > > > PHP Version: 4CVS-2002-12-16 (dev) > > > New Comment: > > > > > > Thank you for taking the time to write to us, but this is not > > > a bug. Please double-check the documentation available at > > > http://www.php.net/manual/ and the instructions on > > > how to report > > > a bug at http://bugs.php.net/how-to-report.php > > > > > > Nothing wrong with this behaviour, the low & high point are the same, > > > hence the false output indicating failure. > > > > Actually, I think this is a bug, and I see the usefulnes in having the > > floor and bottom having the same value. I can write up a patch if > > needed. > > > > Derick > > > > -- > > > > ------------------------------------------------------------------------- > > Derick Rethans > > http://derickrethans.nl/ > > JDI Media Solutions > > http://www.jdimedia.nl/ > > PHP Magazine - PHP Magazine for Professionals > > http://php-mag.net/ > > ------------------------------------------------------------------------- > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -Andrei > http://www.gravitonic.com/ > * Black holes are where God divided by zero. * > -- ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ -------------------------------------------------------------------------

« previous php.dev (#92707) next »