Re: #21060 [Opn->Bgs]: range() gives warning and returns false when low == high
| From: | Ilia A. | Date: | Fri, 20 Dec 2002 14:41:47 +0000 |
| Subject: | Re: #21060 [Opn->Bgs]: range() gives warning and returns false when low == high | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92709@lists.php.net to get a copy of this message | ||
On December 20, 2002 06:35 am, you 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.
What would be an output then, array() ?
Ilia